New to Telerik UI for Blazor? Download Free 30-day trial
Panel Bar - Flat Data
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
- Flat-data.razor
Loading the demo source code...please wait.
Description
You can provide a collection of flat data to the
Data
parameter of the TelerikPanelBar. Flat data means that the entire collection of PanelBar items is available at one level. The parent-child relationships are created through internal data in the model - the ParentId
field which points to the Id
of the item that will contain the current item. The root level has null
for ParentId
. Such data binding can be useful to create Frequently Asked Questions section.
This Blazor Panel Bar Flat Data 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.