moj kho
moj kho

Reputation: 35

How to hide columns in Kendo Grid when editing in a popup

I use Telerik Kendo Grid editing-inline.

I want to hide certain columns when editing popup the number of columns.

Upvotes: 2

Views: 2366

Answers (1)

Nic
Nic

Reputation: 12875

You can use the edit event of the grid to hide some element from the popup window:

$("#grid").kendoGrid({
    edit: function(e) {
        e.container.find(".k-edit-label:first").hide();
        e.container.find(".k-edit-field:first").hide();
    }
});

Upvotes: 1

Related Questions