This is a migrated thread and some comments may be shown as answers.

Grid height as per rows in grid

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shabbir
Top achievements
Rank 1
Shabbir asked on 30 Jan 2009, 09:49 AM
I am creating sub grid as the page size of 5rows but in many time there in only one row found but grid uses 5 rows height.
I want to page size of 5row but if row less than 5 then i want to remove blank height space.

Plz, help as soon as possible.

waiting....

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Jan 2009, 10:03 AM
Hi Shabbir,

You can set ScrollHeight in the DataBound event, depending on the number of items.

Please refer to this forum post:

http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-scrolling-blank-space.aspx#721875

Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Shabbir
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or