Footer templates and column summaries
Columns can declare a `footer` that renders a summary row cell. The cell is either a built-in aggregate (sum, avg, min, max, count) shown with the column's formatter, or a custom framework template. Footers update with filtering, and can be configured to aggregate visible rows or all rows.
Planned. This page shows the specification from issue #184. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
An invoices grid with a sticky footer showing the Amount sum, average days overdue and a custom 'overdue count' badge.
Expected behavior
Filtering changes the footer values in 'filtered' scope only. The sum uses the currency formatter.
Planned API surface
footerfooterAggregatefooterRendererFooterRendererPropsfooterScopeshowFooterAcceptance criteria
- Aggregates compute on raw values and are displayed via the column formatter. (pending)
- Footer recomputation is debounced and is at most O(n) per data change. (pending)
- Custom footer templates receive {rows, column, aggregates, api}. (pending)