DxDataGrid<T>.SelectAllMode Property

Specifies whether the grid selects all rows on a page or all pages.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(DataGridSelectAllMode.Page)]
public DataGridSelectAllMode SelectAllMode { get; set; }

Property Value

Type Default Description
DataGridSelectAllMode

Page

One of the enumeration values.

Available values:

Name Description
Page

Selects rows on the current page.

AllPages

Selects rows on all pages.

Remarks

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

NOTE

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

Data Grid - Select All mode

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

Run Demo: Data Grid - Multiple Selection with Optimized Performance

See Also