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.