GridControl.AllowEditRows Property

Gets or sets whether end-users are allowed to change cell values in the grid. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Declaration

[XtraSerializableProperty]
public bool AllowEditRows { get; set; }
<XtraSerializableProperty>
Public Property AllowEditRows As Boolean

Property Value

Type Description
Boolean

true, to allow data editing; otherwise, false.

End-users can switch the grid to edit mode by double-tapping the required cell or tapping the Edit Cell in a menu that appears when they touch and hold a data row. If the AllowEditRows property is set to true, both these methods are available. Otherwise, end-users cannot edit data.

To prevent end-users from editing values of a specific column only, use the GridColumn.IsReadOnly property of the corresponding column object.

The GridControl.IsReadOnly property allows you to prevent end-users from editing data values in the grid as well as from adding and deleting data rows.

See Also