New to Telerik UI for Blazor? Download Free 30-day trial
Grid - Hierarchy
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Category ID | Category Name | Description |
---|
1 | Beverages | Soft drinks, coffees, teas, beers, and ales | |
2 | Condiments | Sweet and savory sauces, relishes, spreads, and seasonings | |
3 | Confections | Desserts, candies, and sweet breads | |
4 | Dairy Products | Cheeses | |
5 | Grains/Cereals | Breads, crackers, pasta, and cereal | |
6 | Meat/Poultry | Prepared meats | |
7 | Produce | Dried fruit and bean curd | |
8 | Seafood | Seaweed and fish |
- Hierarchy.razor
- CategoryService.cs
- CategoryDto.cs
- ProductDto.cs
Loading the demo source code...please wait.
Description
The Telerik Grid for Blazor allows you to expand its rows by clicking on a + icon. You can use that feature to visually present the connection between parent and child content in the component. This might be additional details for the item or else depending on the needs of the application. This demo showcases how you can provide details like product name, price, product number for the rows of the Grid.
This Blazor Data Grid Hierarchy 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.