# DataGridCell (@salmonui/data-grid)

> The DataGridCell component of @salmonui/data-grid: Body cell part. Subscribes to its own engine cell channel only, so a change to one cell re-renders one cell. memo (instead of compiler-derived memoization, the package is not compiled yet) keeps retained cells from re-rendering when a row re-renders for a column-window change.

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

```ts
import { DataGridCell } from '@salmonui/data-grid';
```

Entry index: https://salmonui.dev/docs/reference/data-grid (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid.md).

## Reference

Kind: component

```ts
const DataGridCell: <Row>(props: DataGridCellProps<Row>) => ReactNode;
```

Body cell part. Subscribes to its own engine cell channel only, so a change
to one cell re-renders one cell. `memo` (instead of compiler-derived
memoization, the package is not compiled yet) keeps retained cells from
re-rendering when a row re-renders for a column-window change.

Props: [`DataGridCellProps`](https://salmonui.dev/docs/reference/data-grid/DataGridCellProps) (its members are the props)
