CustomAggregateData

Represents the input structure for the customAggregate function used in data grid aggregation. Supports custom logic for computing aggregate values over a dataset.

Props

The following table outlines the props for the CustomAggregateData:

NameTypeDefaultDescription
aggregates
-

Pre-computed aggregated values keyed by field - type format. Structure mirrors AggregateData<T>, including raw and formatted results.

count
number
-

Total number of records considered for aggregation.

query
-

Metadata for the current aggregation context. Includes filters, sort orders, or other query parameters.

result
T[]
-

Subset of records matching the query criteria. Used as input for custom aggregate computation.