Feature request: add shorthand table.pageIndex #4132
Unanswered
marceloverdijk
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice to have shorthand to get the current page index of a table.
Similar as we already have e.g.
table.getCanPreviousPage()
andtable.setPageIndex(x)
it would be useful to be able to access the current page index liketable.getPageIndex()
.Now I do
table.getState().pagination.pageIndex
.Beta Was this translation helpful? Give feedback.
All reactions