CellDataChangedInfo

Defines a Cell Edit - includes full details of old and new values, the column and the enclosing Row

TypeScript
export interface

Properties

PropertyTypeDescription
changedAtnumberTimestamp of change occurrence (in milliseconds)
columnAdaptableColumn<TData>Column in which cell is situated
newValueanyNew value for the cell
oldValueanyValue in the Cell before the edit
preventEditbooleanWhether the change was prevented by a validation rule
primaryKeyValueanyPrimary Key Column's value for the row where edited cell is situated
rowDataTDataData in the Row
rowNodeIRowNode<TData>AG Grid RowNode that contains the cell
trigger'edit' | 'tick' | 'undo' | 'aggChange' | 'calculatedColumnChange'What triggered the change - user, background change, a reverted change, or a derived update on a Calculated Column whose source value changed?

Property Details

changedAt

Timestamp of change occurrence (in milliseconds)

TypeScript
changedAt: number;
Property Value

number

column

Column in which cell is situated

TypeScript
column: AdaptableColumn<TData>;
Property Value

AdaptableColumn<TData>

newValue

New value for the cell

TypeScript
newValue: any;
Property Value

any

oldValue

Value in the Cell before the edit

TypeScript
oldValue: any;
Property Value

any

preventEdit

Whether the change was prevented by a validation rule

TypeScript
preventEdit?: boolean;
Property Value

boolean

primaryKeyValue

Primary Key Column's value for the row where edited cell is situated

TypeScript
primaryKeyValue: any;
Property Value

any

rowData

Data in the Row

TypeScript
rowData?: TData;
Property Value

TData

rowNode

AG Grid RowNode that contains the cell

TypeScript
rowNode?: IRowNode<TData>;
Property Value

IRowNode<TData>

trigger

What triggered the change - user, background change, a reverted change, or a derived update on a Calculated Column whose source value changed?

TypeScript
trigger?: 'edit' | 'tick' | 'undo' | 'aggChange' | 'calculatedColumnChange';
Property Value

'edit' | 'tick' | 'undo' | 'aggChange' | 'calculatedColumnChange'