Docs
CodeRabbit
Cloudflare
Railway
Clerk
SerpAPI
AG Grid
Netlify
WorkOS
OpenRouter
Prisma
Unkey
Electric
Sentry
CodeRabbit
Cloudflare
Railway
Clerk
SerpAPI
AG Grid
Netlify
WorkOS
OpenRouter
Prisma
Unkey
Electric
Sentry
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference
Features API Reference

AggregationFn

Type Alias: AggregationFn()<TFeatures, TData>

ts
type AggregationFn<TFeatures, TData> = (columnId, leafRows, childRows) => any;
type AggregationFn<TFeatures, TData> = (columnId, leafRows, childRows) => any;

Defined in: features/column-grouping/columnGroupingFeature.types.ts:30

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

columnId

string

leafRows

Row<TFeatures, TData>[]

childRows

Row<TFeatures, TData>[]

Returns

any