[Grid] Having a DataGrid within a Grid within a flex div does not allow for a grid layout - forces it to follow the flex direction unless otherwise specified #31258
Labels
component: Grid
The React component.
Duplicates
Latest version
Current behavior 😯
I am attempting to put my MUI datagrids in an MUI grid. However, my grid items do not seem to be going into grid format at all (ie all the DataTables are in one area, none of them are siding next to each other even though they take up less than half the space each on the page).
Expected behavior 🤔
Items in the grid should flow to fill the grid in row and column format, not stick to either row or column
Steps to reproduce 🕹
Here is my sandbox: https://codesandbox.io/s/silly-morning-gs58yh?file=/src/App.js
Context 🔦
The grid should not be affected by the css or styling of the external components of which it is a child.
Your environment 🌎
See the code pen
The text was updated successfully, but these errors were encountered: