API reference: @salmonui/data-grid/engine/aggregates
updateAggregatesfunction
import { updateAggregates } from '@salmonui/data-grid/engine/aggregates';function updateAggregates<Row>(previous: AggregateResult, input: RowModelSnapshot<Row>, descriptors: readonly AggregateDescriptor[], delta: RowDelta, locale: string): AggregateResult | null;
Incremental update after updateGroupTree: recomputes the changed leaf
groups from their rows and re-combines only their ancestor chains and the
totals. Null when a full computation is needed.