WarUI

Aggregate formatting and empty values

GRID-A16-F10P1baselinePlanned

Aggregate cells use their own formatter, prefix label and empty placeholder, separate from the leaf cells. Formatting is locale-aware, so totals read naturally.

Planned. This page shows the specification from issue #196. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Revenue sum shown with a compact currency format.

Expected behavior

Aggregate cells update their format live, and leaf cells are unchanged. Empty aggregates show the placeholder.

Planned API surface

columns[].aggregateFormattercolumns[].aggregateLabeloptions.grouping.emptyAggregateTextoptions.locale

Acceptance criteria

  • aggregateFormatter receives the raw value, the aggregator id and the group context. (pending)
  • The locale change re-formats aggregates using the Intl APIs. (pending)
  • Empty aggregates render emptyAggregateText. (pending)
  • Export and clipboard can choose between raw and formatted values (documented flag). (pending)