Back to Devexpress

GridViewSelectAllCheckBoxMode Enum

aspnet-devexpress-dot-web-9006a8a8.md

latest2.2 KB
Original Source

GridViewSelectAllCheckBoxMode Enum

Lists values that specify the Select All check box visibility and selection mode.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public enum GridViewSelectAllCheckBoxMode
vb
Public Enum GridViewSelectAllCheckBoxMode

Members

NameDescription
None

The Select All check box is not displayed.

| | Page |

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

| | AllPages |

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

|

The following properties accept/return GridViewSelectAllCheckBoxMode values:

Remarks

The GridViewSelectAllCheckBoxMode property defines the type of the Select All selection mode.

When the AllowSelectSingleRowOnly property is set to true, the GridViewSelectAllCheckBoxMode property is not in effect.

Run Demo: ASPxGridView - Select All Rows

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

See Also

DevExpress.Web Namespace