MVC GridView

I want to make one column not editable. I add the setting: column.ReadOnly = true;   after that, when I try to edit the column, it still comes out a text editor, although it won't make any change.

Can we make the editor not showing? When trying to edit the column,   show nothing.

Solution:

settings.Columns.Add(column => {
    column.EditFormSettings.Visible = DefaultBoolean.False;
});

Please refer to :https://www.devexpress.com/support/center/Question/Details/T441336

原文地址:https://www.cnblogs.com/michelledawm/p/5980938.html