Type alias AggregateFooterConfig<T>

AggregateFooterConfig<T>: AggregateSpecMap<T> | AggregateFooterRowIf<T>[] | AggregateFooterOptionsIf<T>

The short and the full forms of a footer configuration:

Type Parameters

  • T = any

Example

const oneRow: AggregateFooterConfig<Order> = { quantity: "sum", total: "sum" };
const twoRows: AggregateFooterConfig<Order> = [
{ label: "Sum", aggregates: { total: "sum" } },
{ label: "Max", aggregates: { total: "max" } }
];

Since

1.1.94