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

Set Grid Height Whether Grouping or Not

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 14 Jan 2009, 10:19 PM
I need to set my grid to a particular width and height, and whether they are grouping by columns or not limit the grid to that width and height.  In the demos I see, the height increases when grouping.

Is this possible?

Thx

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 15 Jan 2009, 09:12 AM
Hello Kevin,

Setting Height for RadGrid makes sense only if you enable Scrolling (in ClientSettings). Otherwise table elements (such as RadGrid) always expand vertically according to their content, so limiting  the control's Height will not do much good if this height is not enough for all the data to fit in.

In order to predefine some vertical space for the control and be sure that it is obeyed, you must use scrolling (with or without static headers - this is according to your preference).


Greetings,
Dimo
the Telerik team

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