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

> The ChildGridParent interface of @salmonui/data-grid/engine: The parent row a child grid belongs to.

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

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

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

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 ChildGridParent<Row = unknown> {
    readonly rowId: RowId;
    readonly row: Row;
    readonly depth: number;
}
```

The parent row a child grid belongs to.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowId` | `readonly rowId: RowId;` |  |  |
| `row` | `readonly row: Row;` |  |  |
| `depth` | `readonly depth: number;` |  |  |
