【问题标题】:Disable column editing in devexpress MVC Grid View在 devexpress MVC 网格视图中禁用列编辑
【发布时间】:2013-08-01 11:45:16
【问题描述】:

使用 devexpress MVC Grid View 模式时如何禁用列编辑是内联编辑

【问题讨论】:

标签: asp.net-mvc-4 devexpress


【解决方案1】:

尝试在部分视图中为您的列添加只读属性:

settings.Columns.Add(column =>
{
    column.FieldName = "MyField";
    column.ReadOnly = true;
});

【讨论】:

    猜你喜欢
    • 2019-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多