-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[docs] Clarify DataGrid layout requirements #19413
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
Conversation
Deploy preview: https://deploy-preview-19413--material-ui-x.netlify.app/ Updated pages: Bundle size report
|
:::error | ||
By default, the Data Grid has **no intrinsic dimensions**. | ||
Instead, it takes up the space given by its parent. | ||
The Data Grid will raise an error in the console if its container has no intrinsic dimensions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not true due to this. If we want the check, we need to rework it and it would be a different rendering sequence in dev than in prod. I don't have a strong opinion, I'd prefer to have feedback from the @mui/xgrid team for how to proceed.
Co-authored-by: mapache-salvaje <[email protected]> Signed-off-by: Rom Grk <[email protected]>
Co-authored-by: mapache-salvaje <[email protected]> Signed-off-by: Rom Grk <[email protected]>
Co-authored-by: mapache-salvaje <[email protected]> Signed-off-by: Rom Grk <[email protected]>
Closes #19167
Clarify the need to have intrinsic dimensions.