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

Set grid height 100% inside Window

3 Answers 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matjaz
Top achievements
Rank 1
Matjaz asked on 08 Jul 2014, 06:05 AM
How can I set grid height to extend to maximum possible size, when Grid is inside Window.
I don't want to scroll window, but Grid.

3 Answers, 1 is accepted

Sort by
0
CS
Top achievements
Rank 2
answered on 08 Jul 2014, 12:22 PM
When I look at this Grid API you can only enter px or em values.
0
Accepted
Dimo
Telerik team
answered on 08 Jul 2014, 03:41 PM
Hi Matjaz,

Please refer to the Grid documentation:

http://docs.telerik.com/kendo-ui/getting-started/web/grid/walkthrough#making-the-grid-100-high-and-auto-resizable

In the case when the Grid is inside a Window, you must set height for the Window. If the Window is resizable, then use its resize event to resize the Grid, following the guidelines above.

http://docs.telerik.com/kendo-ui/api/web/window#events-resize

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Etienne
Top achievements
Rank 1
answered on 21 Jul 2014, 01:17 PM
With the help of Dimo, a sample with sibbling controls was achieved with a more recent version of the grid:

http://jsfiddle.net/LUvKw/4/


Tags
Grid
Asked by
Matjaz
Top achievements
Rank 1
Answers by
CS
Top achievements
Rank 2
Dimo
Telerik team
Etienne
Top achievements
Rank 1
Share this question
or