# SETPAGINATION

Enable or disable pagination.

### Syntax

```javascript
SETPAGINATION(value)
```

### Arguments

value - Set to TRUE to enable pagination.

### Example

```
SETPAGINATION(TRUE)
//Enables pagination

SETPAGINATION(FALSE)
//Disables pagination
```

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FTCFBYY9jRsBcMdiRpCew%2Fimage.png?alt=media&#x26;token=09263283-e931-4e53-b91e-a035a4690891" alt=""><figcaption><p>Enabling pagination with scripts</p></figcaption></figure>

Pagination can be controlled with variable buttons:

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F4HwbBMqMlyAoQXf6iMQt%2FUntitled%20Project.gif?alt=media&#x26;token=57371893-39a6-4dd6-9736-dd6857f79002" alt=""><figcaption><p>Using scripts to enable and disable pagination</p></figcaption></figure>
