# createRowModel (@salmonui/data-grid/engine)

> The createRowModel function of @salmonui/data-grid/engine: Helper for stage authors: a model over the same source with a new visible order (source indices).

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

```ts
import { createRowModel } from '@salmonui/data-grid/engine';
```

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

## Reference

Kind: function

```ts
function createRowModel<Row>(input: RowModelSnapshot<Row>, order: Int32Array): RowModelSnapshot<Row>;
```

Helper for stage authors: a model over the same source with a new visible order (source indices).
