Custom status bar aggregates and formatting
Developers can register their own aggregates (for example median or distinct count) and set per-column formatting. Users can click an aggregate to copy its value.
Planned. This page shows the specification from issue #191. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
The status bar shows the defaults plus a Median aggregate.
Expected behavior
Median appears and updates with the selection. Clicking Sum copies the raw value and shows a toast.
Planned API surface
statusBar.customAggregatesstatusBar.formatterstatusBar.clickToCopyregisterAggregate()Acceptance criteria
- A custom aggregate receives an iterable of typed cell values, already deduplicated (pending)
- The column formatter is applied only when all selected cells come from columns with the same format (pending)
- A custom aggregate that throws is isolated: it shows an em dash and the other aggregates still render (pending)