how to create scrollable datagrid?

Hi all,
i found a problem to cereate a scrollable datagrid, its headerText will remail fixed only records will be scroll. also i want to create without using paging. how can i do? please help me.
thanks

[277 byte] By [jennyms2007] at [2007-12-29]
# 1
Maybe this will help
KenTucker at 2007-9-4 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 2
try the following code in div tag:

<div id="Layer1" style="OVERFLOW: auto; WIDTH: 320px; POSITION: relative; HEIGHT: 120px">

actually the basic criteria to make the datagrid scrollable is :
1) the width specified in the div tag shud be less than the width of datagrid.
2)the height specified in the div tag shud be less than the height of datagrid.

regards,
GavinJin-MSFT at 2007-9-4 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

.NET Development

Site Classified