DataGridEditMode Enum

Lists values that specify how users can edit grid data.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

public enum DataGridEditMode

Members

Name Description
EditForm

The Data Grid displays the Edit Form instead of the edited 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

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.

@inject SupplierService supplierService

<DxDataGrid Data="@supplierService.GetSuppliersAsync"
            RowRemovingAsync="@OnRowRemoving"
            RowUpdatingAsync="@OnRowUpdating"
            RowInsertingAsync="@OnRowInserting"
            InitNewRow="@OnInitNewRow"
            EditMode="DataGridEditMode.PopupEditForm">
    @*...*@
</DxDataGrid>

Online Demo

Data Grid - Edit Data

See Also