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

> The EditUpdateRowCommand type of @salmonui/data-grid/engine: updateRow(): writes the values (by column id) at once, validated.

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

```ts
import type { EditUpdateRowCommand } 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 EditUpdateRowCommand = {
    type: 'edit.updateRow';
    rowId: RowId;
    values: JsonObject;
};
```

`updateRow()`: writes the values (by column id) at once, validated.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'edit.updateRow';` |  |  |
| `rowId` | `rowId: RowId;` |  |  |
| `values` | `values: JsonObject;` |  |  |
