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

> The PagingSetPageSizeCommand type of @salmonui/data-grid/engine: Keeps the first row of the current page visible, then clamps.

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

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

```ts
type PagingSetPageSizeCommand = {
    type: 'paging.setPageSize';
    pageSize: number;
};
```

Keeps the first row of the current page visible, then clamps.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'paging.setPageSize';` |  |  |
| `pageSize` | `pageSize: number;` |  |  |
