You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a custom row to the slots property inside the DataGrid
Wrap the row with another element (div or Box)
Resize the column
Current behavior
Row width changes after resizing the column
IST-Bug.mov
Expected behavior
Row width changes while resizing the column
Soll-Aufnahme.mov
Context
If a custom Row component is passed into the slots of a DataGrid and wrapped inside another element (such as a simple div), the row width will only adjust to the column width after the column is resized.
gnsamuel
changed the title
[data grid] Column resizing does not change row width accordingly
[data grid] Column resizing does not change row width simultaneously
May 16, 2024
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-p37kbz?file=Demo.tsx
Steps:
Current behavior
Row width changes after resizing the column
IST-Bug.mov
Expected behavior
Row width changes while resizing the column
Soll-Aufnahme.mov
Context
If a custom Row component is passed into the slots of a DataGrid and wrapped inside another element (such as a simple div), the row width will only adjust to the column width after the column is resized.
Your environment
npx @mui/envinfo
Search keywords: Row Column resizing
The text was updated successfully, but these errors were encountered: