New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Grid Checkbox Selection
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
As of the R2 2017 SP1 release, the Telerik UI for ASP.NET Core Data Grid supports a checkbox-based selection. To enable the checkbox selection functionality, define a Select
column—.Columns(columns => { columns.Select(); })
.
The Select
column allows you to automatically select Grid rows after changing the status of the checkbox from unchecked to checked. The Data Grid component also displays a checkbox in its column header to toggle the checked (selected) state of all rows on the current page.
Additionally, the demo shows how to persist the selected items across the Data Grid pages by enabling the persistSelection
—.PersistSelection()
.
For more information about the selection feature of the component, refer to the official Telerik UI for ASP.NET Core Data Grid product documentation on selection.