[]
Gets or sets whether the user is allowed to edit grid contents.
public bool AllowEditing { get; set; }
If you set AllowEditing to false, editing is disabled for the entire grid.
To enable editing on some rows and columns, set AllowEditing to true for the grid and set the AllowEditing or AllowEditing properties to false for the rows and columns that should not be editable.
You can also disable editing of specific cells by handling the BeforeEdit event and setting the Cancel event parameter to true.