The DevExpress ASP.NET Grid View (ASPxGridView) provides end-users with the capability to select all grid rows by using the Select All check box, which can be displayed in a grid header. The check box visibility and selection mode is defined by the SelectAllCheckboxMode property. This property can be set to the following values.
- 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).
In this demo the title panel is templated. When the SelectAllCheckboxMode property is set to Page, hyperlinks within the template allow end-users to select and deselect all grid rows. For this purpose, the client-side SelectRows and UnselectRows methods are used.