Hi,
I'm currently saving the grid state based on column reorder, resize ,show and hide. But when the grid loads, it seems to take the full height and doesn't seem to keep the actual grid height. Because of this the horizontal scroll bar goes right to the bottom of the screen.
Is there anyway to save the grid height when the screen loads back?
function loadGrid() {
var grid = $("#unspsgrid Grid").data("kendoGrid");
var toolBar = $("#grid .k-grid-toolbar").html();
var options = localStorage["grid "];
if (options) {
grid .setOptions(JSON.parse(options));
$("#grid .k-grid-toolbar").html(toolBar);
$("#grid .k-grid-toolbar").addClass("k-grid-top");
}
}