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

> The TreeLoadedCommand type of @salmonui/data-grid/engine/tree: A child load settled (dispatched by the module; also the hook for data layers that load children through their own channel). childIds names rows that join rowId without carrying the relation in their data.

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

```ts
import type { TreeLoadedCommand } 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: type

```ts
type TreeLoadedCommand = {
    type: 'tree.loaded';
    rowId: RowId;
    status: 'loading' | 'loaded' | 'error' | 'idle';
    childIds?: RowId[];
    error?: string;
};
```

A child load settled (dispatched by the module; also the hook for data
layers that load children through their own channel). `childIds` names
rows that join `rowId` without carrying the relation in their data.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'tree.loaded';` |  |  |
| `rowId` | `rowId: RowId;` |  |  |
| `status` | `status: 'loading' \| 'loaded' \| 'error' \| 'idle';` |  |  |
| `childIds` | `childIds?: RowId[];` | optional |  |
| `error` | `error?: string;` | optional |  |
