Example of Default Aggregate in ASP.NET Core Data Grid Control
This sample demonstrates aggregate functionality of the Grid. In this sample, the aggregate value for the column “Freight” is displayed in column footer.
DEMO
SOURCE
The Grid supports aggregates which will be displayed at the footer, group footer and group caption of the Grid.
The aggregate configurations can be provided by the aggregates
property.
The built-in aggregates are,
Sum
Average
Min
Max
Count
Truecount
Falsecount
Custom
- Requires thecustomAggregate
property to perform aggregation.
The custom aggregate value can be accessed inside template using the key ${Custom}
The template expression should be provided inside ${...}
the interpolation syntax.