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

> The childrenIn function of @salmonui/data-grid/engine/tree: Source indexes of the kept children of a row (-1: the roots), in sibling order.

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

```ts
import { childrenIn } 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: function

```ts
function childrenIn(layout: TreeLayout, row: number): number[];
```

Source indexes of the kept children of a row (`-1`: the roots), in sibling order.
