EvaluateAggregatedExpressionRequest
Request for evaluateAggregatedExpression.
Default target is all grid rows. Pass dataSet to aggregate over a
caller-supplied array instead, or rowScope / rowFilter to narrow the
grid row set. dataSet is mutually exclusive with rowScope / rowFilter.
export interface EvaluateAggregatedExpressionRequest extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| columns | ExternalDataColumn[] | dataType metadata for keys on dataSet rows that are not grid columns.Ignored unless dataSet is provided. |
| dataSet | Record<string, unknown>[] | Aggregate over these plain-object rows instead of the grid. AG GridvalueGetters do not run. Mutually exclusive with rowScope / rowFilter. |
| expression | string | Aggregated AdaptableQL Expression to evaluate. |
| rowFilter | (rowNode: IRowNode) => boolean | Extra predicate applied to the scoped grid rows (logical AND with anyWHERE clause in the expression). Receives AG Grid IRowNodes.Mutually exclusive with dataSet. |
| rowScope | 'all' | 'visible' | Grid-row set to aggregate over. 'all' (default) uses every loaded row;'visible' uses rows the user currently sees (after grid / AdapTablefilters). Group rows are excluded in both cases. Mutually exclusive with dataSet. |
Property Details
columns
dataType metadata for keys on dataSet rows that are not grid columns.
Ignored unless dataSet is provided.
columns?: ExternalDataColumn[];Property Value
dataSet
Aggregate over these plain-object rows instead of the grid. AG Grid
valueGetters do not run. Mutually exclusive with rowScope / rowFilter.
dataSet?: Record<string, unknown>[];Property Value
Record<string, unknown>[]
expression
Aggregated AdaptableQL Expression to evaluate.
expression: string;Property Value
string
rowFilter
Extra predicate applied to the scoped grid rows (logical AND with any
WHERE clause in the expression). Receives AG Grid IRowNodes.
Mutually exclusive with dataSet.
rowFilter?: (rowNode: IRowNode) => boolean;Property Value
(rowNode: IRowNode) => boolean
rowScope
Grid-row set to aggregate over. 'all' (default) uses every loaded row;
'visible' uses rows the user currently sees (after grid / AdapTable
filters). Group rows are excluded in both cases. Mutually exclusive with
dataSet.
rowScope?: 'all' | 'visible';Property Value
'all' | 'visible'