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

> The ViewRowInfo interface of @salmonui/data-grid/engine: A row the view owns or synthesizes, resolved by id.

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

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

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 ViewRowInfo {
    readonly index: number;
    readonly kind: RowKind;
    readonly depth: number;
    readonly parentId: RowId | null;
    readonly row: unknown;
}
```

A row the view owns or synthesizes, resolved by id.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `index` | `readonly index: number;` |  |  |
| `kind` | `readonly kind: RowKind;` |  |  |
| `depth` | `readonly depth: number;` |  |  |
| `parentId` | `readonly parentId: RowId \| null;` |  |  |
| `row` | `readonly row: unknown;` |  | The data row for `kind: 'data'` rows the view owns (lazy group children); null for synthetic rows. |
