DataGridSelectionMode Enum

Lists values that specify data rows' selection mode in the grid.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public enum DataGridSelectionMode

Members

Name Description
MultipleSelectedDataRows

Users can select multiple data rows.

None

Selection is disabled.

OptimizedMultipleSelection

Users can select multiple data rows. The data grid stores information about the selection to improve performance.

SingleSelectedDataRow

Users can select a single data row only.

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

Data Grid - Selection

See Also