DxDataGridSelectionColumn.SelectAllCheckboxVisible Property

Specifies whether the ‘Select All’ check box is visible in the grid’s selection command column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(true)]
public bool SelectAllCheckboxVisible { get; set; }

Property Value

Type Default Description
Boolean

true

true, to display the ‘Select All’ check box; otherwise, false.

Remarks

You can use the “Select All” 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 - A Selection column

The following example illustrates how to hide the “Select All” check box in the selection column.

<DxDataGrid Data="@DataSource"
    SelectionMode="DataGridSelectionMode.MultipleSelectedDataRows" >
    <DxDataGridSelectionColumn SelectAllCheckboxVisible="false"></DxDataGridSelectionColumn>
    ...
</DxDataGrid>

Online Demo

Data Grid - Selection

See Also