How to expand row in angular with same number of columns as parent row

593 Views Asked by At

I followed this link https://www.freakyjolly.com/angular-material-12-table-with-multiple-expanded-rows-example/ for expandable row but it is not working for same number of columns. Can anyone plz help. I need to show like thisenter image description here

1

There are 1 best solutions below

1
On

For same number of columns, you can have same template as you have for your parent table in your expandedDetail definition.

May be you can take reference from here Demo