2

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.

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Rahul and Amy. I tried both and ended up using Alasql for this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.