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 | 19 | 3 | 1/23/2026 12:00:00 AM | |
| 12 | Employee 12 | 73 | 3 | 1/5/2026 12:00:00 AM | |
| 18 | Employee 18 | 72 | 5 | 1/2/2026 12:00:00 AM | |
| 23 | Employee 23 | 55 | 6 | 1/31/2026 12:00:00 AM | |
| 54 | Employee 54 | 21 | 5 | 1/25/2026 12:00:00 AM | |
| 56 | Employee 56 | 41 | 3 | 1/4/2026 12:00:00 AM | |
| 65 | Employee 65 | 45 | 4 | 1/16/2026 12:00:00 AM | |
| 68 | Employee 68 | 23 | 3 | 1/17/2026 12:00:00 AM | |
| 69 | Employee 69 | 33 | 4 | 2/5/2026 12:00:00 AM | |
| 71 | Employee 71 | 17 | 6 | 1/15/2026 12:00:00 AM |
Page
of 10
1 - 10 of 100 items- 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.