Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    GridSelectAllCheckboxMode Enum

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public enum GridSelectAllCheckboxMode

    #Members

    Name Description
    Page

    The Select All checkbox selects and deselects all rows on the current grid page. This mode changes to Mixed when the Grid is bound to a large data source and vertical virtual scrolling mode is activated.

    AllPages

    The Select All checkbox selects and deselects all rows on all grid pages. This mode changes to Mixed when the Grid is bound to a large data source.

    Mixed

    The Select All checkbox selects and deselects all rows on the current grid page. An additional drop-down button displays a context menu that allows users to select and deselect all rows on all grid pages.

    #Remarks

    When you declare a DxGridSelectionColumn object in the Columns template, the grid displays the selection column. The column header contains the Select All checkbox.

    Set the SelectAllCheckboxMode property to a GridSelectAllCheckboxMode enumeration value to specify whether the checkbox selects all rows on the current page or on all grid pages.

    Razor
    <DxGrid Data="Products"
            KeyFieldName="ProductId"
            PageSize="6"
            SelectAllCheckboxMode="GridSelectAllCheckboxMode.Mixed">
        <Columns>
            <DxGridSelectionColumn />
            <DxGridDataColumn FieldName="ProductName" />
            <DxGridDataColumn FieldName="UnitPrice" DisplayFormat="c" />
            <DxGridDataColumn FieldName="UnitsInStock" />
            <DxGridDataColumn FieldName="QuantityPerUnit" />
        </Columns>
    </DxGrid>
    

    Grid Select All Checkbox

    Run Demo: Grid - Selection Column

    See Also