I need to expand the TableRow component to open another div containing some fields. But React throws a warning if I try to add divs in the table body.
warning: validateDOMNesting(...): <div> cannot appear as a child of <tr>. See RowComponent > TableRow > tr > div.
Required functionality is similar to ^
button from the nested list component to collapse / expand.
Is there any way to customize the material-ui TableRow to expand/collapse ?
The material-ui site table component page has an example of a "Collapsible table": https://material-ui.com/components/tables/#collapsible-table.
That example is exactly what I was looking for, and I'm sure many others as well.