GridView.ShowEditForm() Method
Opens an Edit Form for the focused row based on the Edit Form type specified in the GridOptionsBehavior.EditingMode property.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Remarks
The ShowEditForm method opens an Edit Form for the focused row. This method is in effect if the GridOptionsBehavior.EditingMode property is set to a value that enables data editing via an Edit Form.
If the GridOptionsBehavior.EditingMode property is set to GridEditingMode.EditFormInplace or GridEditingMode.EditFormInplaceHideCurrentRow, an Edit Form is displayed as an inline panel. If it is set to GridEditingMode.EditForm, an Edit Form is displayed as a separate modal window.
To display an Edit Form as a separate modal window, call the GridView.ShowPopupEditForm method. To display an Edit Form as an inline panel, call the GridView.ShowInplaceEditForm method.
Note
If there is insufficient space in the Grid
Note
If the GridGrid
methods are not in effect.