Losing horizontal scrollbar after persist grid state

2 posts, 0 answers
  1. Arrash
    Arrash avatar
    6 posts
    Member since:
    Jun 2011

    Posted 26 May 2016 Link to this post


    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");

  2. Helen
    Helen avatar
    1052 posts

    Posted 27 May 2016 Link to this post


    Probably you will find helpful the following help article, which discusses a similar topic:


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top