You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I generate tables with an ngFor with multiple exporters i figured that maybe i could help you.
so first of all in your .ts file you need to add the following:
Since you have multiple exporters you can use @ViewChildren decorator to retrieve all the elements that have the #exporter declaration.
In other word in your .ts file you should have something like this:
I have two tables in two different mat-tab. The export button always export the data of the first table:
[dataSource]="bodySummary"
How I can create two different exporters?
The text was updated successfully, but these errors were encountered: