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

> The PagingOptions interface of @salmonui/data-grid/engine.

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

```ts
import type { PagingOptions } 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: interface

```ts
interface PagingOptions {
    readonly enabled?: boolean;
    readonly pageSize?: number;
    readonly page?: number;
    readonly totalRowCount?: number | null;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `enabled` | `readonly enabled?: boolean;` | optional | Enables paging. Default true when the module is registered. |
| `pageSize` | `readonly pageSize?: number;` | optional | Default 12. |
| `page` | `readonly page?: number;` | optional | Initial 1-based page (`defaultQuery.paging.page` wins when present). |
| `totalRowCount` | `readonly totalRowCount?: number \| null;` | optional | Total row count of a source that pages remotely (`performed` includes `page`). Wins over the total the source reports; use it when the source cannot report one. Ignored when the page stage runs locally. |
