Reputation: 51
I want to do a list of users and when clicking on the user the corresponding addresses table can be expanded. But the thing is that when I clicked on it it shows blank. Does anyone konw what's the problem?
Here is the reproduce link: Stackblitz
This is the problem screenshot:
Upvotes: 0
Views: 58
Reputation: 417
Hi you forgot a few things like displayedColumns
property.
You forgot to put matColumnDef
in the ng-container
.
You insert mat-sort-header
without using it right.
Here is a quick fixed stackblitz
Upvotes: 1