ExpressionContext

Provides context to an Expression Function, including current row node and AdaptableApi

TypeScript
export interface ExpressionContext

Properties

PropertyDescription
apiMain Adaptable Api object
filterFnOptional filter function to be applied before evaluating the expression
functionsAll Expression Functions available to AdapTableQL
namedQueryCallStackAll shared(named) query evaluations are tracked in order to detect circular dependencies
nodeCurrent row node in grid being evaluated
whereClauseFunctionsAll Expression Functions available to AdapTableQL in the (optional) WHERE clause

Property Details

api

Main Adaptable Api object

TypeScript
api?: AdaptableApi;
Property Value

AdaptableApi

filterFn

Optional filter function to be applied before evaluating the expression

TypeScript
filterFn?: (any: any) => boolean;
Property Value

(any: any) => boolean

functions

All Expression Functions available to AdapTableQL

TypeScript
functions: ExpressionFunctionMap;
Property Value

ExpressionFunctionMap

namedQueryCallStack

All shared(named) query evaluations are tracked in order to detect circular dependencies

TypeScript
namedQueryCallStack?: string[];
Property Value

string[]

node

Current row node in grid being evaluated

TypeScript
node: any;
Property Value

any

whereClauseFunctions

All Expression Functions available to AdapTableQL in the (optional) WHERE clause

TypeScript
whereClauseFunctions?: ExpressionFunctionMap;
Property Value

ExpressionFunctionMap