AggregatedExpressionFilterRowContext

View as Markdown

Context used when applying a filter to Rows before Reducer is called

TypeScript
export interface AggregatedExpressionFilterRowContext extends
Extends

BaseContext

Properties

PropertyTypeDescription
aggColumnIdstringColumn Id of the column being aggregated
Usually the first Col argument, e.g. [colId]
argsany[]Arguments passed to the function
getValueForColId(colId: string) => anyUtility 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 Usually the first Col argument, e.g. [colId]

TypeScript
aggColumnId: string;
Property Value

string

args

Arguments passed to the function

TypeScript
args: any[];
Property Value

any[]

getValueForColId

Utility 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