View as Markdown

API reference: @salmonui/data-grid/engine

createAggregatesModulefunction

import { createAggregatesModule } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid, @salmonui/data-grid/engine/aggregates.

function createAggregatesModule<Row>(): AggregatesModule<Row>;

Creates the aggregates module. Options come from options.aggregates (AggregatesOptions); the initial descriptors from options.defaultQuery.aggregates.