@page "/tree-data-binding"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    Tree data-binding
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Populate RadzenTree from a database via Entity Framework.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo three trees demonstrate different binding patterns: <strong>Categories → Products</strong> from different tables with two levels, <strong>Employees</strong> self-referencing hierarchy with "Fuller" pre-expanded, and <strong>Load children on demand</strong> using <code>Expand</code> event to populate products when categories are expanded.
</RadzenText>

<RadzenExample ComponentName="Tree" Example="TreeDataBinding">
    <TreeDataBinding />
</RadzenExample>
