# pageSize

Rows displayed per page. Distinguish the displayed row model, including group rows, from source data counts.

Canonical: https://grid.syidax.com/docs/options/pageSize/

<a id="meaning"></a>

## What does this API do?

Rows displayed per page. Distinguish the displayed row model, including group rows, from source data counts.

<a id="contract"></a>

## Exact input and result types

```typescript
pageSize: number
```

| Item | Value |
| --- | --- |
| JavaScript name | pageSize |
| HTML attribute | page-size |
| Default | DEFAULT_PAGE_SIZE |
| Input type | number |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the page-size attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Page navigation](https://grid.syidax.com/docs/features/pagination.md) — Pagination controls the number of displayed rows and the current page position. Total data size and page size are separate settings.
