I want to export a xls file from Angular2 code. I can see few options to do so. However, I want to Bold column-headers, change color of headers, adjust a column width etc. through the code. Can anyone please advice on how to do the same with a sample example?
Asked
Active
Viewed 2,516 times
0
-
Does that help? https://stackoverflow.com/questions/333537/how-to-generate-excel-through-javascript – rollstuhlfahrer Jan 21 '18 at 01:22
-
It seems option suggested in the link is through java-script. – dml Jan 21 '18 at 01:41
-
Found a solution: https://stackoverflow.com/questions/39177183/how-to-export-json-to-csv-or-excel-angular-2/39177776 – dml Feb 16 '18 at 17:59