Is there a way to define a max height on a grid? Then anything larger would utilize the scrolling. Can this be done?
2 Answers, 1 is accepted
0
Accepted
Iliana Dyankova
Telerik team
answered on 30 May 2012, 03:50 PM
Hi Basem,
You could set a max-height to the grid content container using CSS. Hence when the grid content is larger than this height the scroller will be enabled. For example:
.k-grid-content {
max-height: 200px;
}
Please note that in order to use this approach the Kendo UI Grid must be configured as scrollable.
Greetings,
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!