Status Bar Selection Count and Aggregates
When rows or cell ranges are selected, the status bar shows the selection count and aggregates (sum, average, min, max, count) of the numeric cells in the selection. This gives spreadsheet-style instant arithmetic without any formulas.
Planned. This page shows the specification from issue #202. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A finance grid with range selection enabled and nothing selected.
Expected behavior
Selecting cells shows the aggregates, and clearing the selection hides them. Clicking a value copies it to the clipboard.
Planned API surface
built-in panels 'selectedRows','aggregation'aggregationPanel{funcs,valueFormatter,copyOnClick}api.getCellRanges()onRangeSelectionChangedAcceptance criteria
- Aggregates ignore non-numeric and empty cells. Count includes them only if that option is enabled. (pending)
- Multiple disjoint ranges are combined and overlapping cells are counted once. (pending)
- Values use the column's formatter when every selected cell is from the same column, and a generic number format otherwise. (pending)
- Recalculation is throttled so selecting 100,000 cells stays responsive. (pending)