New to Telerik UI for Blazor? Download Free 30-day trial
TreeList - Row Selection
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Configurator
Choose the TreeList selection mode:
MultipleFirst Name | Last Name | Hire Date |
---|
Daryl | Sweeney | 2/7/2012 8:00:00 PM |
Guy | Wooten | 3/3/2010 8:00:00 PM |
Buffy | Weber | 7/11/2011 6:00:00 PM |
Skyler | Cleveland | 11/10/2014 12:00:00 AM |
Priscilla | Frank | 11/30/2014 12:00:00 AM |
Ursula | Holmes | 6/6/2011 12:00:00 AM |
Melvin | Carrillo | 7/21/2014 12:00:00 AM |
Martha | Chavez | 3/12/2013 12:00:00 AM |
Oren | Fox | 5/14/2013 12:00:00 AM |
Amos | Barr | 3/9/2010 12:00:00 AM |
Selected 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
TreeListCheckBoxColumn
only - 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
SelectAll
checkbox 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.