GridOptionsBehavior.EditingMode Property

Gets or sets the mode in which a data record can be edited - inplace or via a dedicated inline or popup Edit Form.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(GridEditingMode.Default)]
[XtraSerializableProperty]
public virtual GridEditingMode EditingMode { get; set; }
<DefaultValue(GridEditingMode.Default)>
<XtraSerializableProperty>
Public Overridable Property EditingMode As GridEditingMode

Property Value

Type Default Description
GridEditingMode

Default

The mode in which a data record can be edited.

Property Paths

You can access this nested property as listed below:

Object Type Path to EditingMode
AdvBandedGridView
.OptionsBehavior.EditingMode
BandedGridView
.OptionsBehavior.EditingMode
GridView
.OptionsBehavior.EditingMode

Remarks

You can set the mode in which an end-user can edit grid data via the EditingMode property of the GridEditingMode type.

  • Default and Inplace - Directly in grid cells.
  • Edit Form - In an Edit Form displayed as a modal window.

    GridOptionsBehavior_EditingMode_EditForm

  • EditFormInplace - In an Edit Form displayed below the row being edited.

    GridOptionsBehavior_EditingMode_EditFormInplace

  • EditFormInplaceHideCurrentRow - In an Edit Form displayed instead of the row being edited.

    GridOptionsBehavior_EditingMode_EditFormInplaceHideCurrent

NOTE

If there is insufficient space in the View to display an Edit Form as an inline panel, it is forcibly displayed as a separate modal window.

NOTE

Detail Views do not support an inline Edit Form. Data in these Views can only be edited inplace (in row cells), or using a popup Edit Form.

For more information, see the Modify and Validate Cell Values topic.

See Also