New to Telerik UI for ASP.NET Core? Download free 30-day trial
Selection
Loading Demo...
- EXAMPLE
- VIEW SOURCE
- Edit in Theme Builder
-
Change Theme
DefaultSASSLESS
- Default
- Bootstrap
- Material
- Launch Theme Builder
- selection.cshtml
- SelectionController.cs
- OrderViewModel.cs
Also available for:
API REFERENCEDescription
There are situations when you’d like to enable your users to select rows or cells in the grid table, and process data from them or make calculations based on this selection. The Telerik for ASP.NET Core Grid supports selection by specifying its configuration through its Selectable Configurator:
.Selectable(selectable => selectable.Mode(GridSelectionMode.Multiple).Type(GridSelectionType.Cell))
The accepted values for Mode are Single and Multiple while these for Type are Cell and Row.
Additionally, you can persist the row selection after data operations 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