Blazor DataGrid Example - Reactive Aggregation
Order ID Press Enter to sort. Press Ctrl space to group | Customer Name Press Enter to sort. Press Ctrl space to group | Freight Press Enter to sort. Press Ctrl space to group | Order Date Press Enter to sort. Press Ctrl space to group | Ship Country Press Enter to sort. Press Ctrl space to group | Verified Press Enter to sort. Press Ctrl space to group |
|---|
| No records to display |
This sample demonstrates reactive aggregate functionality that updates grid aggregated data in real-time during batch editing.
The Blazor DataGrid supports reactive aggregate updates, which automatically refresh aggregate values in the footer, group footer, and group caption sections as data changes.
In this demo:
- Batch editing mode is enabled
- Aggregate values are displayed in the grid footer
- When you edit the Freight value cells, the corresponding aggregate values update automatically
- The reactive update provides immediate visual feedback of aggregate changes
Important Note: Reactive aggregate updates are supported only in batch edit mode. Inline and dialog edit modes do not automatically update aggregates during editing.
This feature is particularly useful when you need to provide users with real-time feedback on aggregate calculations as they modify data in the grid.