Hi,
We all know how great Kendo Controls works and the most famous one among all the controls is Grid.
Today l got an opportunity to work on Kendo Grid and my requirement was to set the Fixed height to the grid irrespective of the rows. Somehow I didn't get the below piece of the code/style to make the grid fixed easily and adding it here so that it would help others.
Just add the below to your CSS and it works.
Hope this helps.
--
Happy Coding
We all know how great Kendo Controls works and the most famous one among all the controls is Grid.
Today l got an opportunity to work on Kendo Grid and my requirement was to set the Fixed height to the grid irrespective of the rows. Somehow I didn't get the below piece of the code/style to make the grid fixed easily and adding it here so that it would help others.
Just add the below to your CSS and it works.
.k-grid .k-grid-content {
min-height: 75%; /*Adjust Percentage as per your requirement*/
max-height: 75%; /*Adjust Percentage as per your requirement*/
}Hope this helps.
--
Happy Coding
Gopinath
No comments:
Post a Comment