gregnb / gregnb/mui-datatables
rowsPerPage not updating dynamically
Open
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
Once the table renders i can not update the rowsPerPage value dynamically
my code structure is like this
`state = {
rowsPerPage:50
}`
`options = {
rowsPerPage:this.state.rowsPerPage
}`
on click event i update the state
` this.setState({ rowsPerPage: newValue })`
new value is an int
i have also tried using the count attribute nothing happens
mui-datatable version 2.12.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.