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

Fixed Height in RadGrid

1 Answer 295 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David Rodriguez
Top achievements
Rank 1
David Rodriguez asked on 28 Jul 2010, 01:08 PM
We are making an application with ASP.NET Ajax which include several RadGrid.
We  want to put the height of the grid permanently regardless of the number of rows you have.
That is, if the grid has 9 rows and occupies the entire height of the page then we occupied the entire page. If the number of lines spanning the entire height of the screen, then pages the grid, but the whole page is always occupied by the grid.

Is ther eany way to put this behaviour with the RadGrid??

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 02 Aug 2010, 01:27 PM
Hi David,

If I understand you correctly, you need to introduce paging for items that cannot fit into the current grid height. Unfortunately, this scenario is not supported by RadGrid. Paging is set up on the server before RadGrid binds, but you need to calculate the grid and items' dimensions client side to be able to determine if paging needs to be enabled.

You can use scrolling instead. With scrolling, RadGrid can have a fixed width and height with variable number of grid items.

Kind regards,
Veli
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
David Rodriguez
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or