GridControl.OpenEditor(CellIndex) Method

Invokes an editor (an in-place editor or edit form, depending on the edit mode set in the grid) for a data row containing the specified cell.

Namespace: DevExpress.Mobile.DataGrid

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


public void OpenEditor(
    CellIndex cellIndex
Public Sub OpenEditor(
    cellIndex As CellIndex


Type Name Description
CellIndex cellIndex

A CellIndex object that specifies a cell position in the grid.


End-users can switch the grid to edit mode by double-tapping a data cell or tapping Edit Cell in a menu that appears when they touch and hold a data row. The GridControl.AllowEditRows property allows you to prevent end-users from editing cell values via the GridControl's UI. However, it has no effect if a row editor is invoked via the OpenEditor method.

To close a row editor, use the GridControl.CloseEditor method. When a row editor is closed, the GridControl.EndRowEdit event occurs.

See Also