Is Kendo UI Angular support with Export CSV functionality ?

1 Answer 13 Views
Excel Export PDF Export
Ranjith
Top achievements
Rank 1
Iron
Ranjith asked on 04 May 2021, 06:34 AM
I can able to see the support with Excel and PDF. Please answer. Thanks

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 05 May 2021, 11:09 AM

Hi,

Exporting data to CSV is not supported, but can be achieved via custom logic involving looping through the Grid data, and creating the CSV entries. Afterwards the FileSaver package and its saveAs() function can be used to save the newly created file. Here is an example of the described approach in action:

https://stackblitz.com/edit/angular-fqkdtt?file=app%2Fapp.component.ts

It is important to note that the purpose of the example is to points the developer in a direction on how the Grid can be exported in formats that are currently not supported. It might need further modification in order to fit the requirements. 

I hope this helps.

Regards,
Dimiter Madjarov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Excel Export PDF Export
Asked by
Ranjith
Top achievements
Rank 1
Iron
Answers by
Dimiter Madjarov
Telerik team
Share this question
or