Enable or disable pagination.
SETPAGINATION(value)
value - Set to TRUE to enable pagination.
SETPAGINATION(TRUE)
//Enables pagination
SETPAGINATION(FALSE)
//Disables pagination

Enabling pagination with scripts
Pagination can be controlled with variable buttons:

Using scripts to enable and disable pagination