DataGrid - How to scroll

S

sumit acharya

Hi,
I want to make a datagrid scrollable in asp.Net. The datagrid should be
scrollable but not its header means first row,,

I know that div can be used but how to nake header of the datagrid
non-scrollable and rest as scrollable?

Please suggest!!
 
A

Aaron Weiker

I want to make a datagrid scrollable in asp.Net. The datagrid should be
scrollable but not its header means first row,,

Dini Esposito wrote a good article in the asp.netPRO magazine 2 months ago
on how to do this.

If you have a subscription to this magazine you can view the article here:

http://www.aspnetpro.com/features/2003/11/asp200311de_f/asp200311de_f.asp

Unfortionatly I have not used this technique so I cannot provide you much
more information.
 
S

sumit acharya

Hi,
I dont have subscription to that magazine!!
Please send me the article so that i can refer it,,
It is an urgent requirement from customer!!

I would higly appreciate this if u can do this!!

Thanks,
Sumit
 
P

PrakashSha

Hi,
set the showheader=false . and use <div><table> tag to
display header.
<div>
<table align="center" border="1" cellspacing="0"
style="border-collapse:collapse;">
<tr>
<td bgcolor="#006699" width="400" align="center">
<font color="White" size="4"
face="Verdana"><b>Title</b></font>
</td>
<td bgcolor="#006699" width="100" align="center">
<font color="White" size="4"
face="Verdana"><b>Date</b></font>
</td>
<td bgcolor="#006699" width="100" align="center">
<font color="White" size="4"
face="Verdana"><b>Views</b></font>
</td>
</tr>
</table>
</div>

Email :p[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top