TanStackT
TanStack8mo ago
1 reply
primary-violet

Cursor pagination with tanstack table

Looked online and on the discord to see if theres a straightforward way to implement tanstack table using cursor pagination.

Right now my backend returns a next and previous cursor (item id), along with the query total and some other information.

Seems like I need to implement manual pagination to convert the cursor information to a pageIndex. Want to see if anyone else had thoughts!
Was this page helpful?