Change the entire table background color with wrapping Paper element #468
Unanswered
amhassen97
asked this question in
Q&A
Replies: 3 comments 1 reply
-
I have the same issue, can't set background color when changing theme.. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@alessandro-hic @amhassen97 Can you guys share your code because this is supposed to be really simple and just work. |
Beta Was this translation helpful? Give feedback.
0 replies
-
V2 has a new https://www.material-react-table.com/docs/guides/customize-components#mrt-theme-values |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a
<Paper />
component wrapping the<MaterialReactTable />
component, with a global MUI theme.I am trying to change the background color of the Paper component as well as the table, however both use the global theme
palette.background.default
value, even when I create a custom<ThemeProvider />
to wrap the<Paper />
to override those values.I am not sure what is causing this, as from my understanding in the docs, the custom theme for the table should override the global theme where the values are different.
Please assist?
Any help is appreciated!
Thanks
Beta Was this translation helpful? Give feedback.
All reactions