【问题标题】:How to hide columns in Kendo Grid when editing in a popup在弹出窗口中编辑时如何隐藏 Kendo Grid 中的列
【发布时间】:2015-06-15 05:45:14
【问题描述】:

我使用 Telerik Kendo Grid 在线编辑。

我想在编辑弹出的列数时隐藏某些列。

【问题讨论】:

    标签: asp.net-mvc kendo-ui kendo-grid kendo-asp.net-mvc


    【解决方案1】:

    您可以使用网格的edit 事件从弹出窗口中隐藏某些元素:

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

    【讨论】:

      猜你喜欢
      • 2014-07-29
      • 2013-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多