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

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

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    PivotDataGrid <strong>OData</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Use the <code>LoadData</code> event to get data from a REST service.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo sales data loads from an OData service with the same pivot structure (Year/Country columns, Category/Product rows), using <code>RowTotalTemplate</code> with <code>PivotDataGridODataAggregateValue</code> component for server-side aggregate calculations.
</RadzenText>

<RadzenExample ComponentName="PivotDataGrid" Example="PivotDataGridOData" AdditionalSourceCodePages=@(new[] { "PivotDataGridODataAggregateValue.razor" })>
    <PivotDataGridOData />
</RadzenExample>
