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

> The createSearchModule function of @salmonui/data-grid/engine: Creates the search module. Options are read from options.search (SearchOptions); options.defaultQuery.search sets the initial search.

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

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

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

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 createSearchModule<Row>(): SearchModule<Row>;
```

Creates the `search` module. Options are read from `options.search`
(`SearchOptions`); `options.defaultQuery.search` sets the initial search.
