View as Markdown

API reference: @salmonui/data-grid/engine/tree

TreeIssueinterface

import type { TreeIssue } from '@salmonui/data-grid/engine/tree';
interface TreeIssue {
    readonly kind: 'orphan' | 'cycle';
    readonly index: number;
}

A data problem found while resolving parents: an unknown parent id (orphan) or a parent chain that loops (cycle).

TreeIssue members (2)
NameSignatureDescription
kindreadonly kind: 'orphan' | 'cycle';
indexreadonly index: number;

Source index of the row that became a root.