Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to calculate current page in server side pagination and page index starts from 0 #1264

Open
2 of 4 tasks
az-jay-shah opened this issue Dec 9, 2024 · 0 comments
Open
2 of 4 tasks

Comments

@az-jay-shah
Copy link

az-jay-shah commented Dec 9, 2024

Issue Check list

  • Agree to the Code of Conduct
  • Read the README
  • React 18.8.0+
  • You installed styled-components

Describe the bug

On server side pagination, if starting of page is 0 and want to override current page. Pagination didn't work properly.

To Reproduce

Use react table component and set starting of page index to 0.

Expected behavior

Pagination should show page number from 1-11 when starting page index is 0

Code Sandbox, Screenshots, or Relevant Code

Versions (please complete the following information)

  • React: 18
  • OS: Ubuntu
  • Browser : Chrome

Additional context

Set starting of pagination to 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant