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

> The EditTarget interface of @salmonui/data-grid/engine: The row (row and dialog modes) or cell (batch and cell modes) being edited.

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

```ts
import type { EditTarget } 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 EditTarget {
    readonly rowId: RowId;
    readonly columnId: ColumnId | null;
    readonly isNew: boolean;
}
```

The row (row and dialog modes) or cell (batch and cell modes) being edited.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowId` | `readonly rowId: RowId;` |  |  |
| `columnId` | `readonly columnId: ColumnId \| null;` |  | The edited cell; in row and dialog mode the cell that has the editor focus. |
| `isNew` | `readonly isNew: boolean;` |  |  |
