gregnb / gregnb/mui-datatables

I don't see any examples or questions about adding another muitable INSIDE an expandable row.

Open
#1,396 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

In many use cases, there is a summary -> detail view. For instance, a table of patients, where each patient is an expandable row that would have another table of all the doctor encounters for that patient. Then there could even be an equal level expansion into all the tests ordered for that patient, or another nested table with tests ordered based on that encounter.

something like this:

Patient1 Row
--PatientEncounters
--Encounter1 Row
----Patient Orders
----Order 1 Row
----Order 2 Row
--Encounter2 Row
...
Patient2 Row

or

Patient1 Row
--PatientEncounters
--Encounter 1 Row
--Encounter 2 Row
--PatientTestOrders
--Order 1 Row
--Order 2 Row
Patient2 Row
...

The same use case would be relevant in the financial world. But I don't see any examples on if this is possible w/muitables.

I'm not asking for an example. I just want to know if it is possible, or will there be element id conflicts when attempting this. Of course, an example would also be great. If someone tells me nested muitables is not an issue I can work on providing an example.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.