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

Expand Grid to fill page (height = 100%)

1 Answer 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 19 Sep 2012, 08:35 PM
Given the following HTML, where the <div id="jobsGrid"> is transformed to a kendoGrid, how can I get it to expand to fill the page?

    <h1>@Model.Name</h1>
    <h2>Welcome User</h2>    
    <h4>Jobs:</h4>
    <div id="jobsGrid"></div>

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 21 Sep 2012, 03:24 PM
Hi Brad,

By design the Grid will expand to fit the width and height of its container and contents. Its height can be controlled by specifying a static pixel value or to be 100% high and resize together with its parent element on browser window resize. For more details and a sample code please check the corresponding documentation
 
Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Brad
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or