react-data-table-component
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

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:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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.