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

RadGrid does not adjust height when groups are collapsed

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 04 Feb 2015, 03:18 PM
Hi, 

I have a RadGrid  with height=300px, it does not  adjust it's height when groups are collapsed. I would like it's height  to be 300px or less and show scrollbars when needed. When groups are collapsed, it shows whitespace as seen in given image to fill grid height. How can I adjust grid height when groups are collapsed?


I want grid height to adjust like in this demo.
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/grouping/grouping/defaultcs.aspx

Thanks,
Prava

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 09 Feb 2015, 03:16 PM
Hi Prava,

The following article illustrates to reduce the size of the grid when the data does not fill the content area when scrolling is enabled

http://www.telerik.com/help/aspnet-ajax/grid-resize-grid-with-scrolling-when-less-data.html

Give it a try and let me know if it works for you.

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or