New to Telerik UI for Blazor? Download Free 30-day trial
TreeList - Auto-Generated Columns
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Employee Id | Name | Age In Years | Graduate Grade | HireDate |
---|
0 | Employee 0 | 47 | 3 | 11/10/2024 12:00:00 AM | |
11 | Employee 11 | 70 | 6 | 11/9/2024 12:00:00 AM | |
16 | Employee 16 | 27 | 3 | 11/23/2024 12:00:00 AM | |
28 | Employee 28 | 71 | 3 | 11/10/2024 12:00:00 AM | |
34 | Employee 34 | 43 | 5 | 11/26/2024 12:00:00 AM | |
47 | Employee 47 | 39 | 6 | 11/16/2024 12:00:00 AM | |
64 | Employee 64 | 61 | 3 | 12/7/2024 12:00:00 AM | |
65 | Employee 65 | 32 | 4 | 11/18/2024 12:00:00 AM | |
68 | Employee 68 | 25 | 3 | 11/1/2024 12:00:00 AM | |
69 | Employee 69 | 43 | 4 | 12/5/2024 12:00:00 AM |
- Column-auto-generation.razor
Loading the demo source code...please wait.
Description
The Telerik Blazor TreeList can generate the columns from your model field - all you need to do is set its
AutoGenerateColumns
Parameter to true
. You can even update, delete and insert records without extra overhead. This demo also shows how to customize the behavior of the column generation feature.
This Blazor TreeList Auto-Generated Columns 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.