0

I am trying to implement the stackblits example found here with my application: https://stackblitz.com/edit/angular-nested-mat-table-triplenested?file=app%2Ftable-expandable-rows-example.html,app%2Ftable-expandable-rows-example.css

However, I only want the rows to expand IF there is a expandable row under it.

I created a table for tickets that have a self referencing foreign key called parent_id. If i have a ticket created, with no associaiton to any tickets, then parent_id = null, where as if there is an association, that parent_id would equal the id of the ticket i am referencing.

SO, the main rows on the table would have a parent_id = null and only expand if there are tickets that have parent_id = to the main row id.

Any suggestions?

Devine92
  • 59
  • 1
  • 7

0 Answers0