BT San Technology

10 April 2026

Offset vs cursor pagination: showing long lists without confusing people

2 min read · Websites and web apps

Illustration: a laptop showing a long list with page controls at the bottom, beside a stack of paper sheets
AI-generated illustration

Paging by position versus paging by a reference point. A deterministic sort order and the value used to break ties when data is equal. The effect of rows being added or removed while several pages are open.

Steps to apply it

  1. Identify which tasks need jumping to a page and which scroll continuously
  2. Choose the sort columns and the tie-breaking ID explicitly
  3. Try adding and deleting rows while changing pages
  4. Check how paging interacts with filters and export

Example deliverable

Deliverable: test cases for paging a list that changes all the time

Benefits

Helps control the amount of data and makes opening the list predictable.

Limits and cautions

Both approaches trade off page jumping against changing data, so the design must fit the task.

Starting references

  • PostgreSQL — LIMIT and OFFSET
  • GraphQL — Pagination

References

  1. PostgreSQL — LIMIT and OFFSET (accessed 2026-11-21)
  2. GraphQL — Pagination (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer