How to export data table on my angular application UI into a CSV file or xls spreadsheet. Looking to have a button to be displayed on top of the table clicking on which can do this export. Please advise.
Asked
Active
Viewed 8,389 times
1 Answers
1
You can take help of angular2-csv
or ng-table-to-csv
https://www.npmjs.com/package/angular2-csv https://github.com/kollavarsham/ng-table-to-csv

Rahul Singh
- 19,030
- 11
- 64
- 86
-
Thanks Rahul and Amy. I tried both and ended up using Alasql for this. – B_sadagopan Mar 31 '17 at 13:54