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

> The CellKey type of @salmonui/data-grid/engine: A cell by ids (a type alias of the core CellKey shape, so commands stay JSON-typed).

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

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

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

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 CellKey = {
    readonly rowId: RowId;
    readonly columnId: ColumnId;
};
```

A cell by ids (a type alias of the core `CellKey` shape, so commands stay JSON-typed).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowId` | `readonly rowId: RowId;` |  |  |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
