I would like to do something like this in the Grid requestStartHandler:
var requestStartHandler = function (e) {
var grid = $("#DefaultGrid").data("kendoGrid").height($(document).height() - 350);
}
What is the Grid Client API to know how to set the height with JavaScript?
Best regards
Jaume Aguiló
1 Answer, 1 is accepted
0
Dimo
Telerik team
answered on 16 Jul 2012, 08:40 AM
Hi Jaume Aguiló,
The Grid does not have a dedicated API dor settings its height. Generally, you should make a couple of Javascript calculations in order to find out what are the correct height values that should be applied to the Grid's wrapper and the scrollable data area. Please inspect the following example and let me know if there is anything unclear: