Open ashishchoudhary12 opened 1 week ago
This is because the component in the details is not rendered when it is collapsed. You would need to access the current state of the "parent" grid and apply the column widths to the child on render.
as mentioned in #13194 I would advise to use the tree data or grouping feature instead
Steps to reproduce
Link to live example: (required)
Steps: 1. 2. 3.
Current behavior
I have implemented a MUI Grid containing two tables. One table is nested within the other, allowing me to display common fields in the parent table and additional details in the child table. Here is the link
I am using the onColumnWidthChange event in my MUI Grid implementation.
Expected behavior
No response
Context
No response
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: Change child table width on change of parent table