AggregatedExpressionPrepareRowValueContext

View as Markdown

Context used by prepareRowValue property in Aggregated Expressions

TypeScript
export interface AggregatedExpressionPrepareRowValueContext extends
Extends

BaseContext

Properties

PropertyTypeDescription
aggColumnIdstringColumn Id of the column being aggregated
aggregatedValueanyResult of the reducer (for CUMULATIVE calls: the running value
recorded for this row)
argsany[]Arguments passed to the function
getValueForColId(colId: string) => anyHelper function to get the value of a column
groupByColumnIdsstring[]Column Id(s) of the column(s) being grouped by
rowNodeIRowNodeCurrent Row Node
weightValueanyResolved WEIGHT([column]) value for the current row (see weight).
adaptableContextanyCustom application Context provided in AdaptableOptions.adaptableContext

Property Details

aggColumnId

Column Id of the column being aggregated

TypeScript
aggColumnId: string;
Property Value

string

aggregatedValue

Result of the reducer (for CUMULATIVE calls: the running value recorded for this row)

TypeScript
aggregatedValue: any;
Property Value

any

args

Arguments passed to the function

TypeScript
args: any[];
Property Value

any[]

getValueForColId

Helper function to get the value of a column

TypeScript
getValueForColId: (colId: string) => any;
Property Value

(colId: string) => any

groupByColumnIds

Column Id(s) of the column(s) being grouped by

TypeScript
groupByColumnIds?: string[];
Property Value

string[]

rowNode

Current Row Node

TypeScript
rowNode: IRowNode;
Property Value

IRowNode

weightValue

Resolved WEIGHT([column]) value for the current row (see weight).

TypeScript
weightValue?: any;
Property Value

any

adaptableContext

Inherited from BaseContext

Custom application Context provided in AdaptableOptions.adaptableContext

TypeScript
adaptableContext: any;
Property Value

any