API reference: @salmonui/data-grid
DataGridChildGridParentinterface
import type { DataGridChildGridParent } from '@salmonui/data-grid';interface DataGridChildGridParent<Parent> {
readonly rowId: RowId;
readonly row: Parent;
readonly depth: number;
}
The parent row a child grid belongs to (factory form of childGrid.data).
| Name | Signature | Description |
|---|---|---|
rowId | readonly rowId: RowId; | |
row | readonly row: Parent; | |
depth | readonly depth: number; | Depth of the child grid (1 for children of the root grid). |