react-data-table-component icon indicating copy to clipboard operation
react-data-table-component copied to clipboard

[DESCRIPTION]When I change RowsPerPage Pagination range is not updating after filtering data because of getNumberOfPages is not called when onChangeRowsPerPage is triggered in file react-data-table-component.dev.js

Open HamzaALi0078 opened this issue 3 years ago • 0 comments

image_2022_10_05T14_15_57_725Z

Issue Check list

  • [x] Agree to the Code of Conduct
  • [x] Read the README
  • [x] You are using React 16.8.0+
  • [x] You installed styled-components
  • [x] Include relevant code or preferably a code sandbox

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Code Sandbox, Screenshots, or Relevant Code

Please include a codesandbox to help expedite troublshooting.

https://codesandbox.io/embed/react-data-table-sandbox-ccyuu

Otherwise, add screenshots and/or complete sample code to help explain your problem.

Versions (please complete the following information)

  • React (RDT requires 16.8.0+)
  • Styled Components
  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari, firefox]

Additional context

Add any other context about the problem here.

HamzaALi0078 avatar Oct 05 '22 14:10 HamzaALi0078