Material-UI DataGrid: Can we expand collapse each row in Material-UI DataGrid

Viewed 8915

Is it possible to implement expand-collapse for each row using Material-UI DataGrid? I know that we should be able to do this using TableRow and render it manually (Collapsible table), but is it possible to do that in DataGrid. We want to use the out of the box superb filtering and sorting that DataGrid provides.

Thanks

mockup

2 Answers

I have seen a great example but that is using the MUIDataTable. Perhaps you could consider using that if all else fails. example of MUI expandable rows

Related