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

> The EditCellContext interface of @salmonui/data-grid/engine: Context of isCellEditable (canEditCell policy).

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

```ts
import type { EditCellContext } 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 EditCellContext<Row> {
    readonly row: Row;
    readonly rowId: RowId;
    readonly columnId: ColumnId;
    readonly column: CompiledColumn<Row>;
    readonly isNew: boolean;
}
```

Context of `isCellEditable` (`canEditCell` policy).

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `row` | `readonly row: Row;` |  |  |
| `rowId` | `readonly rowId: RowId;` |  |  |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `column` | `readonly column: CompiledColumn<Row>;` |  |  |
| `isNew` | `readonly isNew: boolean;` |  |  |
