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
PopupEditForm
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>