We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to disable the Vertical Scroll bar in GridDataBoundGrid?

I want GridDataBoundGrid show all the rows, no need to scroll the vertical bar to go throught all the items, how to achieve this?

1 Reply

MC Manickam Chidambaram Syncfusion Team August 19, 2010 02:00 PM UTC

Hi gulefeng,

Thanks for your interest in Syncfusion Products.

Your requirement of disabling the Scroll bars in grid can be achieved by not specifying the width and height of the grid. In your case we suggest you not to specify the height for the grid control, this will disable the vertical scrollbar. Please refer below code snippet.

[Aspx Page]

AutoFormat="Vista" PageSize="12" >


Please note that in the above code height and width are not specified to disable the scroll bars. If the height and width are specified scrollbars will be shown if necessary.

For you convenience we created a sample. The sample can be download from the following link.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GRID_SCROLLBAR2-110113771.zip

Please let us know if it helps.

Regards,
Manickam



Loader.
Live Chat Icon For mobile
Up arrow icon