# TreeIssue (@salmonui/data-grid/engine/tree)

> The TreeIssue interface of @salmonui/data-grid/engine/tree: A data problem found while resolving parents: an unknown parent id (orphan) or a parent chain that loops (cycle).

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

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

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-tree (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-tree.md).

## Reference

Kind: interface

```ts
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`).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `readonly kind: 'orphan' \| 'cycle';` |  |  |
| `index` | `readonly index: number;` |  | Source index of the row that became a root. |
