New to Telerik UI for ASP.NET Core? Download free 30-day trial
Checkbox selection
- EXAMPLE
- VIEW SOURCE
-
EDIT IN TELERIK REPL
-
Change Theme
default
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
- Main
- Main Dark
- Nordic
- Urban
- Vintage
- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
- Main
- Main Dark
- Opal
- Silver
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
To enable the checkbox selection functionality you should define a select column as shown below:
.Columns(columns => { columns.Select(); })
This column allows you to select grid rows automatically after changing the status of the checkbox to checked. A checkbox is also displayed in the column header to toggle the checked/selected state of all rows in the current page.
Additionally in the demo you can see how to persist selected items across pages. This is achieved by using the PersistSelection(true)
method.
More about the selectable feature of the Telerik Grid for ASP.NET Core
More about the Telerik Grid for ASP.NET Core