Skip to main content

DataGridSelectionMode Enum

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.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

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

Data Grid - Selection Mode

<DxDataGrid Data="@DataSource"
    KeyFieldName="Id"
    SelectionMode="DataGridSelectionMode.OptimizedMultipleSelection" >
    <DxDataGridSelectionColumn></DxDataGridSelectionColumn>
    ...
</DxDataGrid>

Run Demo: Data Grid - Selection

See Also