# DataChangeHistoryContext

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

The context for the DataChangeHistoryButton

```ts title="TypeScript"
export interface DataChangeHistoryContext<TData = any> extends ActionColumnContext 
```

###### Extends

[`ActionColumnContext`](https://www.adaptabletools.com/docs/reference/actioncolumncontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [clearRow](https://www.adaptabletools.com/docs/reference/datachangehistorycontext.md#clearrow) | `() => void` | Helper function to row from Grid |
| [dataChangedInfo](https://www.adaptabletools.com/docs/reference/datachangehistorycontext.md#datachangedinfo) | [`CellDataChangedInfo`](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md)`<TData>` | The initial data change |
| [isGroupNode](https://www.adaptabletools.com/docs/reference/datachangehistorycontext.md#isgroupnode) | `boolean` | If the change references a group node. |
| [parentAdapTableApi](https://www.adaptabletools.com/docs/reference/datachangehistorycontext.md#parentadaptableapi) | [`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md) | AdapTable API of underlying Grid (not from Data History Monitor) |
| [undoDataChange](https://www.adaptabletools.com/docs/reference/datachangehistorycontext.md#undodatachange) | `() => void` | Helper function to undo the change. |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/datachangehistorycontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### clearRow

Helper function to row from Grid

```ts title="TypeScript"
clearRow: () => void;
```

###### Property Value

`() => void`

### dataChangedInfo

The initial data change

```ts title="TypeScript"
dataChangedInfo: CellDataChangedInfo<TData>;
```

###### Property Value

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

### isGroupNode

If the change references a group node.

```ts title="TypeScript"
isGroupNode: boolean;
```

###### Property Value

`boolean`

### parentAdapTableApi

AdapTable API of underlying Grid (not from Data History Monitor)

```ts title="TypeScript"
parentAdapTableApi: AdaptableApi;
```

###### Property Value

[`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md)

### undoDataChange

Helper function to undo the change.

```ts title="TypeScript"
undoDataChange: () => void;
```

###### Property Value

`() => void`

### adaptableContext

> *Inherited from [BaseContext](https://www.adaptabletools.com/docs/reference/basecontext.md)*

Custom application Context provided in `AdaptableOptions.adaptableContext`

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

###### Property Value

`any`
