Home General Discussion

Cireson - Hide Column - SLO / Is Parent

Dear All,

Can you help, I would like to hide column SLO and Is Parent. I have the following code to hide others but those two do not work with this code.

Thanks

Daniel


// Hiding columns on gridview

setTimeout(function() {

if ($('.grid-container.k-grid').length > 0) {

var grid = $('.grid-container.k-grid').data("kendoGrid");

grid.hideColumn("Icon");

grid.hideColumn("Category");

grid.hideColumn("Priority");

};

}, 1000);

Best Answer

  • CaterhamITSupportCaterhamITSupport IT Monkey ✭
    Accepted Answer

    Fixed by:

    // Hiding columns on gridview

    setTimeout(function() {

    if ($('.grid-container.k-grid').length > 0) {

    var grid = $('.grid-container.k-grid').data("kendoGrid");

    grid.hideColumn("Icon");

    grid.hideColumn("Category");

    grid.hideColumn("Priority");

    grid.hideColumn("SLOStatus");

    grid.hideColumn("IsParent");

    };

    }, 1000);

Answers

  • CaterhamITSupportCaterhamITSupport Member IT Monkey ✭
    Accepted Answer

    Fixed by:

    // Hiding columns on gridview

    setTimeout(function() {

    if ($('.grid-container.k-grid').length > 0) {

    var grid = $('.grid-container.k-grid').data("kendoGrid");

    grid.hideColumn("Icon");

    grid.hideColumn("Category");

    grid.hideColumn("Priority");

    grid.hideColumn("SLOStatus");

    grid.hideColumn("IsParent");

    };

    }, 1000);

Sign In or Register to comment.