Angular - Table with expandable row (hierarchy structure)

416 Views Asked by At

I have hierarchy structure data which I'm trying to show in the table. I'm using material-table expandable which works fine when I show only one level of data.

I created a table that shows the main data and when I click on detail it showing another table expanded.

I have more and more data for sub-detail which I need to show.

I moved an expanded table to ng-template and I'm passing params with let-param but the problem I'm facing when I click the first level shows fine but when I click the second level it's hiding the first level.

Please let me know if anyone has experience with this type of task.

Thank you.

0

There are 0 best solutions below