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

> The EditUpdateCellCommand type of @salmonui/data-grid/engine: updateCell(): batch mode keeps a draft; other modes write at once.

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

```ts
import type { EditUpdateCellCommand } 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: type

```ts
type EditUpdateCellCommand = {
    type: 'edit.updateCell';
    rowId: RowId;
    columnId: ColumnId;
    value: Json;
};
```

`updateCell()`: batch mode keeps a draft; other modes write at once.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'edit.updateCell';` |  |  |
| `rowId` | `rowId: RowId;` |  |  |
| `columnId` | `columnId: ColumnId;` |  |  |
| `value` | `value: Json;` |  |  |
