ActionColumnContext

View as Markdown

Context passed to Control handlers rendered inside a data cell of an Action Column.

TypeScript
export interface ActionColumnContext<TData = any> extends
Extends

BaseContext

Properties

PropertyTypeDescription
actionColumnActionColumn<TData>Action Column in question
controlActionColumnControl<TData, any>The Control currently being rendered / invoked
dataTDataThe current row's data
primaryKeyValueanyPrimary Key Value in current row
rowNodeIRowNode<TData>Current AG Grid Row Node
valueanyControl's current value where applicable (e.g. toggle's checked state or select's selected value)
adaptableContextanyCustom application Context provided in AdaptableOptions.adaptableContext

Property Details

actionColumn

Action Column in question

TypeScript
actionColumn: ActionColumn<TData>;
Property Value

ActionColumn<TData>

control

The Control currently being rendered / invoked

TypeScript
control?: ActionColumnControl<TData, any>;
Property Value

ActionColumnControl<TData, any>

data

The current row's data

TypeScript
data: TData;
Property Value

TData

primaryKeyValue

Primary Key Value in current row

TypeScript
primaryKeyValue: any;
Property Value

any

rowNode

Current AG Grid Row Node

TypeScript
rowNode: IRowNode<TData>;
Property Value

IRowNode<TData>

value

Control's current value where applicable (e.g. toggle's checked state or select's selected value)

TypeScript
value?: any;
Property Value

any

adaptableContext

Inherited from BaseContext

Custom application Context provided in AdaptableOptions.adaptableContext

TypeScript
adaptableContext: any;
Property Value

any