New to Telerik UI for Blazor? Download Free 30-day trial
TreeList - Row Selection
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
meridian
Configurator
Choose the TreeList selection mode:
Multiple| Name | Age | Hire Date |
|---|
| Daryl Sweeney | 67 | 2/8/2012 12:00:00 AM |
| Nevada Hart | 62 | 8/17/2015 12:00:00 AM |
| Zena Sanford | 66 | 12/1/2010 12:00:00 AM |
| Quinlan Howe | 70 | 6/9/2011 12:00:00 AM |
| Hunter Fry | 56 | 2/12/2011 12:00:00 AM |
| Anika Vega | 36 | 2/25/2010 12:00:00 AM |
| Ali Guy | 46 | 6/29/2014 12:00:00 AM |
| Amos Barr | 38 | 3/9/2010 12:00:00 AM |
| Guy Wooten | 65 | 3/4/2010 12:00:00 AM |
| Ursula Holmes | 37 | 6/6/2011 12:00:00 AM |
Page
of 3
1 - 10 of 23 itemsSelected Items:
- Daryl Sweeney
- Row-selection.razor
- EmployeeDirectoryService.cs
- EmployeeDirectoryDto.cs
Loading the demo source code...please wait.
Description
The Telerik TreeList for Blazor allows you to select a single row or a multitude of rows. To observe the behavior of the different selection modes use the dropdown list in the demo configurator at the top.
Additionally, the selection itself can be done in different ways:
- By clicking on a row only
- By clicking in the
TreeListCheckBoxColumnonly - With both options
To observe the behavior of the different ways to select rows make your choice in the demo configurator at the top:
- If you don't want to select rows by clicking on the row and you want to use only the check box selection, then show the CheckBox Column and select to use only the CheckBox Column to select. This is useful when you want your users to have the option to click on rows so that they could perform edit or other actions but not trigger a selection.
- You can also enable the
SelectAllcheckbox to allow your users to select all items in the TreeList at once.
This Blazor TreeList Row Selection example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.