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

> The createPagingModule function of @salmonui/data-grid/engine: Creates the paging module. Options are read from options.paging (PagingOptions); options.defaultQuery.paging sets the initial page.

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

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

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

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 createPagingModule<Row>(): PagingModule<Row>;
```

Creates the `paging` module. Options are read from `options.paging`
(`PagingOptions`); `options.defaultQuery.paging` sets the initial page.
