@page "/pivot-data-grid-load-data"

<PageTitle>Pivot DataGrid LoadData - Radzen Blazor Components</PageTitle>

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    PivotDataGrid <strong>LoadData</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    The <code>LoadData</code> event allows you to perform custom paging, sorting and filtering.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the pivot table uses <code>LoadData</code> event with Entity Framework for custom data loading, supporting paging, sorting, and filtering with the same Year/Country columns and Category/Product rows, calculating grand totals using <code>GetAggregateValue</code> method.
</RadzenText>

<RadzenExample ComponentName="PivotDataGrid" Example="PivotDataGridLoadData">
    <PivotDataGridLoadData />
</RadzenExample>
