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

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

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

```ts
import type { PagingState } 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 PagingState {
    readonly enabled: boolean;
    readonly page: number;
    readonly pageSize: number;
    readonly totalRowCount: number | null;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `enabled` | `readonly enabled: boolean;` |  |  |
| `page` | `readonly page: number;` |  | Requested 1-based page; the effective page is clamped to the page count. |
| `pageSize` | `readonly pageSize: number;` |  |  |
| `totalRowCount` | `readonly totalRowCount: number \| null;` |  | `PagingOptions.totalRowCount`; null uses the source total. |
