Skip to main content

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

Declaration

public void OpenEditor(
    CellIndex cellIndex
)

Parameters

Name Type Description
cellIndex CellIndex

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

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 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