@page "/master-detail-hierarchy"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid Master Detail Hierarchy
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    This page demonstrates how to use templates to create a Radzen Blazor DataGrid hierarchy.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo a 4-level hierarchy shows <strong>Customers</strong> → <strong>Orders</strong> (with tabs) → <strong>Order Details</strong> → <strong>Employee Territories</strong>. You can toggle <code>ExpandMode</code> between Single/Multiple and use buttons to expand/collapse all rows on the current page.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridMasterDetailHierarchy">
    <DataGridMasterDetailHierarchy />
</RadzenExample>
