TanStackT
TanStackโ€ข3y agoโ€ข
1 reply
spotty-amber

How to know if the pagination is activated?

Hi everyone!
I'm trying to show a Pagination component dynamically.
If nextPage is undefined the idea is to not show the pagination buttons, by the other hand show it.

I used to do this in react-table v7 using nextPage that comes undefined or the function.

Is that posible to know that?
Does anybody know how is the best way to do that?

Thank you in advanced ๐Ÿ’š

I hope something like the image
image.png
Was this page helpful?