GridColumn.IsReadOnly Property
Gets or sets whether end-users are allowed to change cell values in the column. This is a bindable property.
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to prevent end-users from changing cell values in the column; otherwise, false. |
Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
End-users can switch the grid to edit mode by double-tapping the required cell or choosing Edit Cell in the context menu that appears when they touch and hold a data cell. If the IsReadOnly property of a grid column is set to true, both these methods are disabled for this column.
To prevent end-users from editing cell values in the whole grid, set the GridControl.AllowEditRows property to false.