Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
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