CellDataChangedInfo

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

TypeScript
export interface

Properties

PropertyDescription
changedAtTimestamp of change occurrence (in milliseconds)
columnColumn in which cell is situated
newValueNew value for the cell
oldValueValue in the Cell before the edit
primaryKeyValuePrimary Key Column's value for the row where edited cell is situated
rowDataData in the Row
rowNodeAG Grid RowNode that contains the cell
triggerWhat triggered the change - user, background change or a reverted change?

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

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 or a reverted change?

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

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