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

> The descendantsOf function of @salmonui/data-grid/engine/tree: Source indexes of the kept descendants of a row, in pre-order ([slot + 1, next)).

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

```ts
import { descendantsOf } 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 descendantsOf(layout: TreeLayout, row: number): Int32Array;
```

Source indexes of the kept descendants of a row, in pre-order (`[slot + 1, next)`).
