Seiten · Laravilt
Pagination
Configure page size, page size options, and infinite scroll.
Tables are paginated by default with 12 records per page.
php
Passing an array to paginated() sets the options and uses the first one as the page size:
php
First and last page links
php
Infinite scroll
php
Infinite scroll turns off while grouping is active.
Disable pagination
php
API reference
| Method | Description |
|---|---|
paginated(bool|array) | Enable/disable, or set page size options |
perPage(int) | Records per page (default 12) |
paginationPageOptions(array) | Page size selector options |
extremePaginationLinks() | Show first/last page buttons |
infiniteScroll() | Load more on scroll |