react-data-table-component
react-data-table-component copied to clipboard
[FEATURE]: [RESET Row per page in pagination base on props]
Feature Check list
- [x] Agree to the Code of Conduct
- [x] Read the README to ensure the feature is not already present
- [x] You read Creating Issues, Features and Pull Requests
- [ ] Considered the value versus complexity for all users of the library as well as library maintenance
- [ ] Considered if this can be a storybook or documentation example
Is your feature request related to a problem? Please describe
Want to update row per page in pagination when change props
Describe the solution you'd like
Need add props to handler when reset row per page in pagination
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Hello, This is the problem I am facing : I have a prop that sets the state of rowsPerPage. I am passing that state to paginationPerPage property of data table. I am setting the prop on component mount. However when the prop is updated on component mount, the change is not reflected on ui.DefaultPage is working as expected. Is this the same problem you are trying to solve?