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.
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