-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[data grid] - Wrong cell content alignment and position when using a custom renderCell
function
#12348
Comments
Details in the migration guide, cells aren't |
How did we do @TiagoPortfolio? |
Thanks for the quick reply @romgrk ! |
We previously had cells in the structure |
If you find issues while adjusting the styles, make sure to report so we can fix it before the end of the beta phase. |
Steps to reproduce
Link to live example: (required)
Steps:
1.
2.
3.
Current behavior
After upgrading @mui/x-data-grid to version "7.0.0-beta.4", all the content of the cells of my columns using a custom
renderCell
function is either not aligned at the center or the position of the elements is completely different.For instance:
Note that I didn't use v7.0.0-beta.5 yet, is this maybe fixed in this version?
Expected behavior
I expect the alignment and positioning of the content in the cells to stay the same
Context
No response
Your environment
Used Chrome: 122.0.6261.94
`npx @mui/envinfo`
Search keywords: renderCell cell position alignment content grid datagrid
Order ID: 54728
The text was updated successfully, but these errors were encountered: