# dataRowIdAt (@salmonui/data-grid/engine/expansion)

> The dataRowIdAt function of @salmonui/data-grid/engine/expansion: Row id of the data row at data index dataIndex of the current view, or undefined.

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

```ts
import { dataRowIdAt } from '@salmonui/data-grid/engine/expansion';
```

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

## Reference

Kind: function

```ts
function dataRowIdAt<Row>(model: RowModelSnapshot<Row>, dataIndex: number): RowId | undefined;
```

Row id of the data row at data index `dataIndex` of the current view, or undefined.
