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

> The createSelectionModule function of @salmonui/data-grid/engine: Creates the selection module. Options are read from options.selection (SelectionOptions).

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

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

Also exported from `@salmonui/data-grid/engine/selection`.

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 createSelectionModule<Row>(): SelectionModule<Row>;
```

Creates the `selection` module. Options are read from `options.selection`
(`SelectionOptions`).
