Scrolling in datagrid.

  • Thread starter Thread starter Saravana [MVP]
  • Start date Start date
If it has to work in IE only, you can just enclose the datagrid within a div
tag

<DIV STYLE="overflow-x;hidden; overflow-y:auto" >
everything nested within this tag is scrollable...
</DIV>

i hope that helped

patrick dahmen
 
The new Web Matrix ships with an IFrame control, if you are targeting
Internet Explorer. Download it, and you can use the assemblies in Visual
Studio .NET. NOTE: You will have to deploy the assemblies to production to
get it to work there.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Does anyone know how to scroll the items only of the datagrid. The header
should remain there, and the rows should scroll. I saw an article by Dino
Eposito, in aspnetpro but its for members only.

Rajesh
 
Saravana,

I thought of the solution u had presented, but it will not work if the
column width keeps varying slightly due to the data. While testing the
column lines to align is very difficult, u wud have to be very sure of the
data. So i cant use it.
 
Back
Top