Skip to content

How to use /display only the latest pageIndex value for controlled pagination #3329

Answered by kombuchafox
elevatethegame asked this question in Q&A
Discussion options

You must be logged in to vote
              <td colSpan="10000">
                Showing {rowCount ? pageIndex * pageSize + 1 : 0}-
                {Math.min((pageIndex + 1) * pageSize, rowCount)} of {rowCount} items
                {/* Showing {page.length} of {rowCount} results */}
              </td>

I changed it to this and it seems to be working

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@elevatethegame
Comment options

@elevatethegame
Comment options

Answer selected by elevatethegame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants