The short and the full forms of a footer configuration:
{ total: "sum" }
[{ label: "Sum", aggregates: … }, …]
{ rows: […], labelProperty, rowHeight, source, getRows }
const oneRow: AggregateFooterConfig<Order> = { quantity: "sum", total: "sum" };const twoRows: AggregateFooterConfig<Order> = [ { label: "Sum", aggregates: { total: "sum" } }, { label: "Max", aggregates: { total: "max" } }]; Copy
const oneRow: AggregateFooterConfig<Order> = { quantity: "sum", total: "sum" };const twoRows: AggregateFooterConfig<Order> = [ { label: "Sum", aggregates: { total: "sum" } }, { label: "Max", aggregates: { total: "max" } }];
1.1.94
The short and the full forms of a footer configuration:
{ total: "sum" }– one row (AggregateSpecMap),[{ label: "Sum", aggregates: … }, …]– several rows (AggregateFooterRowIf),{ rows: […], labelProperty, rowHeight, source, getRows }– everything (AggregateFooterOptionsIf).