Support MUI 5
MUI 5
I have an error. when I update MUI to version 5. Material-Table needs @Material-ui/icons but in MUI 5 we haven't this.
[mui5 ---> @mui/icons]
please update...
welcome to the dependencies hell :) material-table depends on material-ui and also heavily relies on @material-ui/pickers that also depends on material-ui. (v4). So, for a while, if you absolutely need material-table, just stick to material-ui and let @mui aside...
will there be an update for mui 5?
will there be an update for mui 5?
This is Mehmet's decision. We should ask him :)
Just as a word of warning, we switched to MUI 5, and there is something with the way that MUI and Material Table handle CSS that causes much of the MUI CSS to be overridden by what has been done in Material Table. I'm not sure what the solution is, but (and certainly if you are using react router) this causes the application to behave very strangely.
What is looks like normally:

What it looks like once I load a page with a Material Table:

If you look in yarn, MT has not been updated for a while (22 weeks), so, personally I will test this:
https://mui.com/components/data-grid/getting-started/
after that I'll decide if it is worth the migration.
I went through migration steps as outlined here: and wasn't able to get it working. I had issue with the material-ui icons library as well. There was a certain point where I was at least able to get it to compile, but even then, I had similar CSS issues that @AlexThurston mentioned above.
I'm just going to leave the migration unfinished on a separate branch on my project, and come back to it if material table ever gets updated. Once tree data gets added to mui/x-data-grid (whenever that may be), I may pull the trigger on MUI pro if MT isn't updated by then.
I ended up biting the bullet and just spending the afternoon required to convert all our material-table usage to data-grid and implementing what needed to be implemented to have the same behaviour.
It ended up not being all that difficult.
I ended up biting the bullet and just spending the afternoon required to convert all our material-table usage to data-grid and implementing what needed to be implemented to have the same behaviour.
It ended up not being all that difficult.
Are you using the pro version of data grid?
Nope.
On Fri, Oct 1, 2021 at 1:37 PM cc-greglorenzen @.***> wrote:
I ended up biting the bullet and just spending the afternoon required to convert all our material-table usage to data-grid and implementing what needed to be implemented to have the same behaviour.
It ended up not being all that difficult.
Are you using the pro version of data grid?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mbrn/material-table/issues/3023#issuecomment-932428233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA27TUG37MMXPU2H6X3FXRTUEXWW5ANCNFSM5ERAIOSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I ended up biting the bullet and just spending the afternoon required to convert all our material-table usage to data-grid and implementing what needed to be implemented to have the same behaviour.
It ended up not being all that difficult.
I did the same, I find it the best way to go with.
So I guess the answer is, it cannot work with v5? And I need to drop this package right? @Jucabel
---- use this package ---- MUI-DATATABLE
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.