API REFERENCE
aggFunc
Built-in or registered custom aggregate function name for grouping and analysis.
What does this API do?
Built-in or registered custom aggregate function name for grouping and analysis.
API for Pro features: Row grouping, built-in aggregation and group totals
Exact input and result types
aggFunc?: 'sum' | 'avg' | 'min' | 'max' | 'count' | string| Item | Value |
|---|---|
| Required | Optional |
| Input type | 'sum' | 'avg' | 'min' | 'max' | 'count' | string |
Usage flow
Set this on an individual column object in columnDefs. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Grouping and aggregation
Row grouping collects source rows with the same region or team into expandable groups. Unlike column groups, which organize headers, row groups change displayed rows and aggregation results.