Skip to main content

GridViewCommandColumn.SelectAllCheckboxMode Property

Specifies the Select All check box visibility and selection mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public GridViewSelectAllCheckBoxMode SelectAllCheckboxMode { get; set; }

Property Value

Type Default Description
GridViewSelectAllCheckBoxMode None

The type of the Select All selection mode.

Available values:

Name Description

The Select All check box is not displayed.


The Select All check box selects and deselects all rows on the current grid page.


The Select All check box selects and deselects all grid rows (on all grid pages).


Set the SelectAllCheckboxMode property to Page or AllPages to enable the Select All check box. When the SelectAllCheckboxMode property value is None, the control does not display the check box within the command column.

When the row selection changes, the control raises the server-side ASPxGridBase.SelectionChanged or the client-side ASPxClientGridView.SelectionChanged event (based on the ProcessSelectionChangedOnServer property value).

Run Demo: ASPxGridView - Select All Rows

ASPxGridView - SelectAllCheckboxMode

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="EmployeeID">
        <dx:GridViewCommandColumn VisibleIndex="0" ShowSelectCheckbox="true" SelectAllCheckboxMode="Page"/>


See Also