# EditBatchChanges (@salmonui/data-grid/engine)

> The EditBatchChanges interface of @salmonui/data-grid/engine: getBatchChanges(): rows with the drafts applied.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/EditBatchChanges

```ts
import type { EditBatchChanges } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/edit`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: interface

```ts
interface EditBatchChanges<Row> {
    readonly addedRecords: readonly Row[];
    readonly changedRecords: readonly Row[];
    readonly deletedRecords: readonly Row[];
}
```

`getBatchChanges()`: rows with the drafts applied.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `addedRecords` | `readonly addedRecords: readonly Row[];` |  |  |
| `changedRecords` | `readonly changedRecords: readonly Row[];` |  |  |
| `deletedRecords` | `readonly deletedRecords: readonly Row[];` |  |  |
