# createRemoteTree (@salmonui/data-grid/engine/tree-remote)

> The createRemoteTree function of @salmonui/data-grid/engine/tree-remote: Adapts a remote source with tree reads (read({ parentRowId })) to tree mode. Register module(treeOptions) and read through dataSource.

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

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

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

## Reference

Kind: function

```ts
function createRemoteTree<Row>(source: DataSource<Row>, options: RemoteTreeOptions<Row>): RemoteTree<Row>;
```

Adapts a remote source with tree reads (`read({ parentRowId })`) to tree
mode. Register `module(treeOptions)` and read through `dataSource`.
