HalitTalha / ng-material-extensions

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

how to hide mat select in xlsx which is available inside one of the column of mat table #128

Open shubhammathur92 opened 3 years ago

shubhammathur92 commented 3 years ago

Hi Halit Talha,

I am using mat exporter to export mat table to xlsx but in one of my column I have a select box inside header so after exporting the table I am getting the name for that specific column with all the selection values. Is there any way to trim the column or edit the column name while exporting below is how my column looks image

after exporting I am getting this value inside my excel header image

Is there any way I can only show Position as a header and not the select values

Jayboy75 commented 2 years ago

Similar issue here. I'm using both mat-table-exporter and mat-table-filter, and the labels for the filter fields end up in the exported CSV file. Any way to keep those field labels / values from being included in the export?