How to export table into csv file in angular 2

B_sadagopan picture B_sadagopan · Mar 30, 2017 · Viewed 8.3k times · Source

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.

Answer

Rahul Singh picture Rahul Singh · Mar 30, 2017