Skip to main content

DataGridSelectAllMode Enum

Lists values that specify whether the grid selects all rows on the current page or all pages.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll

Declaration

public enum DataGridSelectAllMode

Members

Name Description
Page

Selects rows on the current page.

AllPages

Selects rows on all pages.

Related API Members

The following properties accept/return DataGridSelectAllMode 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.

You can use the “Select All” (SelectAllCheckboxVisible) check box or call the SelectAll() method to select all rows on the current page (Page) or all pages (AllPages) according to the SelectAllMode property setting.

Note

Use the SelectionMode property to allow users to select multiple rows in the grid.

Data Grid - Select All

<DxDataGrid Data="@DataSource"
    SelectAllMode="DataGridSelectAllMode.AllPages" >
    @* ... *@
</DxDataGrid>

Run Demo: Data Grid - Multiple Selection with Optimized Performance

See Also