HalitTalha / ng-material-extensions

Extended features for @angular/material components
Apache License 2.0
101 stars 52 forks source link

Hidden columns in table not exported #87

Closed pantonis closed 4 years ago

pantonis commented 4 years ago

I have a model with 10 properties. Only 8 are displayed in the mat table. However when I click export I want to export all 10 columns. How can I achieve that?

HalitTalha commented 4 years ago

mat-table-exporter exports the table as it shows up in the page. If you want to export the datasource array instead, you can directly use the corresponding exporter service as explained here