Skip to main content

DataGridEditMode Enum

Lists values that specify how users can edit grid data.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

Declaration

public enum DataGridEditMode

Members

Name Description
EditForm

The Data Grid displays the Edit Form instead of the edited data row.

PopupEditForm

The Data Grid displays the Edit Form in a pop-up window.

Related API Members

The following properties accept/return DataGridEditMode values:

Remarks

Important

The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.

Use the EditMode property to specify the Data Grid’s edit mode:

  • EditForm

    DataGrid Edit Form

  • PopupEditForm

    DataGrid Popup Edit Form

Note

If virtual scrolling is enabled, the Data Grid shows the Edit Form in a pop-up window regardless of the EditMode property value.

<DxDataGrid @ref="@grid"
            Data="@Data"
            RowRemovingAsync="@OnRowRemovingAsync"
            RowUpdatingAsync="@OnRowUpdatingAsync"
            RowInsertingAsync="@OnRowInsertingAsync"
            InitNewRow="@OnInitNewRowAsync"
            ShowPager="false"
            KeyFieldName="@nameof(Employee.EmployeeId)"
            EditMode="DataGridEditMode.EditForm">
    @* ... *@
</DxDataGrid>

Run Demo: Data Grid - Edit Modes

See Also