DataGridSelectionMode Enum
Lists values that specify data rows' selection mode in the grid.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v20.2.dll
Declaration
public enum DataGridSelectionMode
Members
Name | Description |
---|---|
SingleSelectedDataRow | Users can select a single data row only. |
MultipleSelectedDataRows | Users can select multiple data rows. |
OptimizedMultipleSelection | Users can select multiple data rows. The data grid stores information about the selection to improve performance. |
None | Selection is disabled. |
Related API Members
The following properties accept/return DataGridSelectionMode values:
Remarks
Use the SelectionMode property to specify whether users can select a single data row, multiple data rows including multiple selection with optimized performance or disable selection in the grid.
<DxDataGrid Data="@DataSource"
KeyFieldName="Id"
SelectionMode="DataGridSelectionMode.OptimizedMultipleSelection" >
<DxDataGridSelectionColumn></DxDataGridSelectionColumn>
...
</DxDataGrid>
Online Demo
See Also
Feedback