Ading vertical rows for datagrid control ... ?

J

Jimmy

Is it possible to have a data grid control with vertical row when I am not
opted for paging ? If so, how to achieve it ?
Thanks,
Jimmy
 
A

Alvin Bruney [MVP]

this behavior is not supported out of the box. you can get around this by
wrapping the datagrid into a div tag and setting the overflow property of
the grid tag to auto or some appropriate value
 
M

Marshal Antony

Hi Jimmy,
As Alvin pointed out,if you want a scroll bar for the datagrid you can put a
DIV around it with the style overflow : auto
Here is an eg:
<DIV id="griddiv" style="DISPLAY: inline; Z-INDEX: 101; OVERFLOW:
auto; WIDTH: 950px; ">

put your datagrid here
</DIV>
HTH
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com
 

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,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top