# CellDataChangedInfo

Canonical page: https://www.adaptabletools.com/docs/reference/celldatachangedinfo

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

```ts title="TypeScript"
export interface CellDataChangedInfo<TData = any> 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [changedAt](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#changedat) | `number` | Timestamp of change occurrence (in milliseconds) |
| [column](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#column) | [`AdaptableColumn`](https://www.adaptabletools.com/docs/reference/adaptablecolumn.md)`<TData>` | Column in which cell is situated |
| [newValue](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#newvalue) | `any` | Value after the change.<br/><br/>Absent when `trigger` is `live`. |
| [oldValue](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#oldvalue) | `any` | Value before the change.<br/><br/>Absent when `trigger` is `live`. |
| [preventEdit](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#preventedit) | `boolean` | Whether the change was prevented by a validation rule |
| [primaryKeyValue](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#primarykeyvalue) | `any` | Primary Key Column&#39;s value for the row where edited cell is situated |
| [rowData](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#rowdata) | `TData` | Data in the Row |
| [rowNode](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#rownode) | `IRowNode<TData>` | AG Grid RowNode that contains the cell |
| [trigger](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md#trigger) | `'edit' \| 'tick' \| 'undo' \| 'aggChange' \| 'calculatedColumnChange' \| 'live'` | What triggered the change - user, background change, a reverted change, a<br/>derived update on a Calculated Column whose source value changed, or a<br/>live Alert rule turning true for the row (`live`: no old / new value,<br/>`column` is the rule&#39;s first Scope column when it has one). |

## Property Details

### changedAt

Timestamp of change occurrence (in milliseconds)

```ts title="TypeScript"
changedAt: number;
```

###### Property Value

`number`

### column

Column in which cell is situated

```ts title="TypeScript"
column: AdaptableColumn<TData>;
```

###### Property Value

[`AdaptableColumn`](https://www.adaptabletools.com/docs/reference/adaptablecolumn.md)`<TData>`

### newValue

Value after the change.

Absent when `trigger` is `live`.

```ts title="TypeScript"
newValue: any;
```

###### Property Value

`any`

### oldValue

Value before the change.

Absent when `trigger` is `live`.

```ts title="TypeScript"
oldValue: any;
```

###### Property Value

`any`

### preventEdit

Whether the change was prevented by a validation rule

```ts title="TypeScript"
preventEdit?: boolean;
```

###### Property Value

`boolean`

### primaryKeyValue

Primary Key Column&#39;s value for the row where edited cell is situated

```ts title="TypeScript"
primaryKeyValue: any;
```

###### Property Value

`any`

### rowData

Data in the Row

```ts title="TypeScript"
rowData?: TData;
```

###### Property Value

`TData`

### rowNode

AG Grid RowNode that contains the cell

```ts title="TypeScript"
rowNode?: IRowNode<TData>;
```

###### Property Value

`IRowNode<TData>`

### trigger

What triggered the change - user, background change, a reverted change, a
derived update on a Calculated Column whose source value changed, or a
live Alert rule turning true for the row (`live`: no old / new value,
`column` is the rule&#39;s first Scope column when it has one).

```ts title="TypeScript"
trigger?: 'edit' | 'tick' | 'undo' | 'aggChange' | 'calculatedColumnChange' | 'live';
```

###### Property Value

`'edit' | 'tick' | 'undo' | 'aggChange' | 'calculatedColumnChange' | 'live'`
