Logo Beartropy Tables

Beartropy Tables

Pagination
Configure table pagination options.

Pagination Settings

usePagination(bool $bool): Enable or disable pagination.
setPerPageDefault(int $number): Set the default number of rows per page.
setPerPageOptions(array $options): Define the available options for the "Per Page" dropdown. Use "Total" to show all rows.

1$this->usePagination(true);
2$this->setPerPageDefault(50);
3$this->setPerPageOptions(['10', '25', '50', '100', 'Total']);