Cell Changed

An Adaptable Event which fires whenever a cell changes in the Grid - whether as a result of a user cell edit or ticking data.


The Event Info contains a CellChangedInfo object:

cellChangeObject providing full information of the cell (and column and row) that changed

This wraps a DataChangedInfo that is defined as follows:

changedAtTimestamp of change occurence (in milliseconds)
columnIdId of the Column in which the 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
rowNodeRowNode that contains the cell (an AG Grid object)
triggerWhat triggered the change - user or background change?

Event Subscription

Subscribing to the Event is done the same as with all Adaptable Events:

api.eventApi.on('CellChanged', (eventInfo: CellChangedInfo) => {
// do something with the info

More Information