View as Markdown

API reference: @salmonui/data-grid/engine

ChildGridParentinterface

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

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

interface ChildGridParent<Row = unknown> {
    readonly rowId: RowId;
    readonly row: Row;
    readonly depth: number;
}

The parent row a child grid belongs to.

ChildGridParent members (3)
NameSignatureDescription
rowIdreadonly rowId: RowId;
rowreadonly row: Row;
depthreadonly depth: number;