@page "/master-detail-hierarchy-demand"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid Master Detail Hierarchy on demand
</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 and load data on demand.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo <strong>Orders</strong> expand to show <strong>Order Details</strong> only when clicked, with <code>RowRender</code> making only <strong>France</strong> and <strong>Brazil</strong> orders expandable, and <code>RowExpand</code> event loading child data on-demand from the database for performance.
</RadzenText>

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