Skip to content
MyAppBuilder
StableReference

Pagination

Pagination splits a long list into pages so screens stay fast and readable. List components page their records automatically: a table shows 10 rows per page by default, a data grid 25, a list 20, cards 12, and each has its own previous/next controls. For layouts where the control

Pagination splits a long list into pages so screens stay fast and readable. List components page their records automatically: a table shows 10 rows per page by default, a data grid 25, a list 20, cards 12, and each has its own previous/next controls. For layouts where the controls should sit elsewhere, the separate Pagination component pages any table, list or cards component.

When to use

Keep paging on for any list that may grow beyond a screen. Raise the page size for dense back-office tables, lower it for cards on mobile. Use Maximum records on a query when you want a short list (the five latest jobs) rather than pages.

Page size and controls

ComponentSettingDefault
TableRows per page, Show pagination10
Data gridRows per page, Show pagination25
ListItems per page20
CardsCards per page12

Page size can be set between 1 and 200. When Show pagination is on and there are more records than one page, the component shows 1–10 of 42 with previous and next buttons. Sorting or changing a filter returns to the first page.

The Pagination component

Add Pagination (Basic category) anywhere on the page and set Target component id to the id of the table, list or cards component (copy the id from the inspector header of that component). The control shows the range and moves the target between pages; it exposes its current page in component state. The publish checklist warns when a Pagination component points at a component that no longer exists.

Maximum records vs page size

  • Maximum records (query, Data tab) caps how many records the query returns in total — the 5 most recent bookings. The count shown is capped too.
  • Page size decides how many of the returned records are shown at once.

Both can be combined: a limit of 100 with 25 per page gives four pages at most.

In the records editor

The Records tab pages at 25, 50 or 100 rows per page with its own controls.

Example

Example
Dashboard "Latest bookings":  Table · Maximum records 5 · Show pagination off
Bookings page:                Table · Rows per page 25 · Sortable on
Portal "My orders":           Cards · Cards per page 6 · Pagination component below the cards

Common mistakes

  • Turning pagination off on a large table: the whole list renders at once and the page slows down.
  • Pointing a Pagination component at a KPI or form: only tables, lists and cards can be paged.
  • Expecting the page to be remembered after navigation: paging restarts at page 1 when the page reopens.

Related

Was this helpful?