Mat-icon doesn t export in excel sheet

0 votes

In my project, I utilised mat-icons to display tables. however, when a table is exported to Excel or CSV, the mat icon name is used in place of the icon. For better understanding, see the code and image I've supplied.

icon display in web view

icon changes to name in Excel export

mat-icon code

 <i class="material-icons col-green">arrow_upward</i>

I have also tried with

<mat-icon class="col-green">arrow_upward</mat-icon>

here's my export table code

exportTable(fileType = "xlsx") {
    this.matTableExporter.exportTable(fileType, { fileName: this.tabData.title, sheet: this.tabData.title });
}
Dec 15, 2022 in Others by Kithuzzz
• 28,900 points
94 views

1 answer to this question.

0 votes
Icons have their own coding you can download those but then you still have to match them with the picture of the icon, which you have to download individually.
answered Dec 15, 2022 by narikkadan
• 53,520 points

Related Questions In Others

0 votes
1 answer
0 votes
1 answer

Create charts in excel sheet [ in same sheet along with data C#]

Unfortunately, it's not that simple. Use the ...READ MORE

answered Oct 11, 2022 in Others by narikkadan
• 53,520 points
176 views
0 votes
1 answer
0 votes
1 answer

Export a simple Dictionary into Excel file in python

You can use pandas. import pandas as pd dict1 ...READ MORE

answered Oct 23, 2022 in Others by narikkadan
• 53,520 points
824 views
0 votes
1 answer

Unable to download excel file from src/assets in development/qa/prod environment for angular application

Try this: this.HttpClient.get("./assets/sample.xlsx",{responseType: "blob"}).subscribe((res:any) => ...READ MORE

answered Nov 12, 2022 in Others by narikkadan
• 53,520 points
825 views
0 votes
1 answer

Reading Excel file using node.js

Several distinct libraries perform Excel file parsing ...READ MORE

answered Dec 10, 2022 in Others by narikkadan
• 53,520 points
286 views
+1 vote
8 answers

How can I implement process.env in Angular 5 environment?

Users do not have access to process.env ...READ MORE

answered Apr 3, 2018 in DevOps & Agile by DareDev
• 6,890 points
11,547 views
0 votes
1 answer
0 votes
1 answer

Export HTML Table to Excel- Doesn't Open in Office 2010

We had the same issue too many ...READ MORE

answered Oct 21, 2022 in Others by narikkadan
• 53,520 points
158 views
0 votes
1 answer

How to print an Excel Sheet using VBA with Nitro PDF Creator in Excel 2016

you can use the built-in excel facilities ...READ MORE

answered Sep 24, 2022 in Others by narikkadan
• 53,520 points
242 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP