Open danielsann99 opened 3 years ago
Hello, I tried to reproduce the error with code sandbox, the error arises only when I install the dependencies: "@ emotion / react": "^ 11.4.0", "@ emotion / styled": "^ 11.3.0",
I leave you the sandbox link here, you can notice that the selection of the lines remains does not work.
---> https://codesandbox.io/s/sparkling-wind-dtji1?file=/src/App.js:0-1977
I have had the same issue
Same issue here
It has to do with @material-ui v5, they changed the names of those props and in latest versions completely deprecated them.
Relates to https://github.com/gregnb/mui-datatables/issues/1747
How do we solve this? I even downgrade @material-ui to v4 but the error persisted.
How do we solve this? I even downgrade @material-ui to v4 but the error persisted.
Wait for this to get into new Version https://github.com/gregnb/mui-datatables/pull/1748#issuecomment-897861778
+1
+1
+1
+1
I got the error in fuse react mui-data table. Uncaught TypeError: onChangePage is not a function
I expect the solution of this error
+1
+3
+1
+1
+1
+1
+1
+1
+1
Any solution on this one yet?
My workaround was to provide my own pagination component
Hi,
In my table when I switch pages and rows it doesn't work
At the moment of rendering the content of the table is present, even the functions are all functional, outside the page switch and the selection of the rows to be displayed.
console error{
Warning: Failed prop type: The prop onPageChange is marked as required in ForwardRef(TablePagination), but its value is undefined
}console error{
Warning: Unknown event handler property onChangePage. It will be ignored.
}console error{
index.js:1 Warning: Unknown event handler property onChangeRowsPerPage. It will be ignored.
}at each click of the icon to change the page or select the lines to be displayed, the following error is printed in the console
Uncaught TypeError: onPageChange is not a function.
here is my code..
-->
|--------------|---------| | Material-UI | | MUI-datatables | 3.7.7 | | React | js | | browser | chrome/safari | | etc | |