Sunday, November 1, 2015

KENDO GRID CHANGE HEIGHT OF THE GRID TO DISPLAY MANY RECORDS

Hi All,

Many of us struck with displaying more no records in a scroll-able Kendo GRID.

We can adjust the height of the Kendo grid so that we can make more no of records viewed by the users,

Here is the solution,



 If we all over the application the grid should be of same height then in Kendo.default.min.css file give the following style,

div .k-grid-content 
{

max-height: 900px;

}

OR

OR If we want for a particular page alone means in that page include the above mentioned style in the top where we are declaring script blocks

div .k-grid-content 
{

max-height: 900px;

}

Now Check your grid by running the code...

No comments:

Post a Comment