# PanelBar Data Binding to Hierarchical Data

This article explains how to bind the PanelBar for Blazor to hierarchical data.

Hierarchical data means that the collection child items is provided in a field of its parent's model. By default, this is the `Items` field. If there are items for a certain node, it will have an expand icon. The `HasChildren` field can override this, however, but it is not required for hierarchical data binding.

This approach of providing nodes lets you gather separate collections of data and/or use different models at each different level. Note that the data binding settings are per level, so a certain level will always use the same bindings, regardless of the model they represent and their parent.

> caption Example of hierarchical data that uses different models for the parent and the child. Using different models is not required.

<demo metaUrl="client/panelbar/data-binding/hierarchical-data/" height="500"></demo>

## See Also

* [PanelBar Data Binding Basics](https://www.telerik.com/blazor-ui/documentation/components/panelbar/data-binding/overview)
* [Live Demo: PanelBar Hierarchical Data](https://demos.telerik.com/blazor-ui/panelbar/hierarchical-data)
* [Binding to Flat Data](https://www.telerik.com/blazor-ui/documentation/components/panelbar/data-binding/flat-data)
