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

Number Rows

Hi my friends

including limiting the number of rows in gridcontrol and show me a scroll to the right side?, does not want any empty space between me and my lower objects gridcontrol

Atte.
Rafael

1 Reply

GK Ganesan K Syncfusion Team September 15, 2009 04:04 PM UTC

Hi Rafael,
Thanks for using Syncfusion products.

You can remove the empty space by set the grid height as below.

grid.Height = grid.Model.RowHeights.GetDefaultLineSize() * grid.Model.RowCount;

Please download the workaround sample in the below location.
http://www.syncfusion.com/uploads/redirect.aspx?file=SampleProject_5eed151f.zip&team=development

Please let me know if you need any more details.

Thanks
Ganesan

Loader.
Live Chat Icon For mobile
Up arrow icon