ExpressionContext
Provides context to an Expression Function, including current row node and AdaptableApi
export interface ExpressionContext extendsExtends
Properties
| Property | Description |
|---|---|
| dataChangedEvent | Changed cell data |
| evaluateCustomQueryVariable | Evaluate custom variables |
| filterFn | Optional filter function to be applied before evaluating the expression |
| functions | All Expression Functions available to AdaptableQL |
| getRowNodes | Get custom list rows |
| namedQueryCallStack | All Named Query evaluations: tracked in order to detect circular dependencies |
| node | Current AG Grid Row Node being evaluated |
| pivotResultColumn | Pivot Result Column when evaluating a Pivoted Column |
| whereClauseFunctions | Expression Functions available to AdaptableQL in (optional) WHERE clause |
| adaptableContext | Custom application Context provided in AdaptableOptions.adaptableContext |
Property Details
dataChangedEvent
Changed cell data
dataChangedEvent?: CellDataChangedInfo;Property Value
evaluateCustomQueryVariable
Evaluate custom variables
evaluateCustomQueryVariable?: (functionName: string, args?: any[]) => any;Property Value
(functionName: string, args?: any[]) => any
filterFn
Optional filter function to be applied before evaluating the expression
filterFn?: (any: any) => boolean;Property Value
(any: any) => boolean
functions
All Expression Functions available to AdaptableQL
functions: ExpressionFunctionMap<string>;Property Value
ExpressionFunctionMap<string>
getRowNodes
Get custom list rows
getRowNodes?: () => IRowNode[];Property Value
() => IRowNode[]
namedQueryCallStack
All Named Query evaluations: tracked in order to detect circular dependencies
namedQueryCallStack?: string[];Property Value
string[]
node
Current AG Grid Row Node being evaluated
node: IRowNode;Property Value
IRowNode
pivotResultColumn
Pivot Result Column when evaluating a Pivoted Column
pivotResultColumn?: Column;Property Value
Column
whereClauseFunctions
Expression Functions available to AdaptableQL in (optional) WHERE clause
whereClauseFunctions?: ExpressionFunctionMap<string>;Property Value
ExpressionFunctionMap<string>
adaptableContext
Inherited from BaseContext
Custom application Context provided in AdaptableOptions.adaptableContext
adaptableContext: any;Property Value
any