question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

manualPagination with pageCount set to -1 does not work

See original GitHub issue

Describe the bug (required) When using manualPagination: true along with pageCount: -1, pagination does not work.

Provide an example via Codesandbox! (required) Reproducible in example https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/pagination-controlled

Steps To Reproduce (required) Steps to reproduce the behavior:

  1. In the example, change pageCount to -1
  2. Try clicking on next/prev buttons

Expected behavior (Recommended) Pagination should work according to this line of code

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
vkbansalcommented, Mar 19, 2020

Sure. I’ll try opening one in sometime.

0reactions
tannerlinsleycommented, May 24, 2020

Looks good!

Read more comments on GitHub >

github_iconTop Results From Across the Web

manualPagination with pageCount set to -1 does not work
Describe the bug (required) When using manualPagination: true along with pageCount: -1, pagination does not work.
Read more >
Pagination | TanStack Table Docs
Enables manual pagination. If this option is set to true , the table will not automatically paginate rows using getPaginationRowModel() and instead will ......
Read more >
react-table pagination properties doesn't exist on type ...
The main problem is that TS types are incorrect! If you check index.d.ts file in @types/react-table you'll see, for example, setPageSize ...
Read more >
How to Build a Custom Pagination Component in React
Pagination works well when you know the size of the data in advance, and you don't make frequent additions or deletions to the...
Read more >
react-table - npm
React Table as a library honestly has no business being in charge of your UI. ... If set to a function , it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found