Back to Devexpress

GridControl.OpenEditor(CellIndex) Method

xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-dot-openeditor-x28-devexpress-dot-mobile-dot-datagrid-dot-cellindex-x29.md

latest2.4 KB
Original Source

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

csharp
public void OpenEditor(
    CellIndex cellIndex
)
vb
Public Sub OpenEditor(
    cellIndex As CellIndex
)

Parameters

NameTypeDescription
cellIndexCellIndex

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

GridControl Class

GridControl Members

DevExpress.Mobile.DataGrid Namespace