This is a migrated thread and some comments may be shown as answers.
Export to PDF not working
6 Answers 23 Views
This is a migrated thread and some comments may be shown as answers.
Shobhit
Top achievements
Rank 1
Shobhit asked on 18 May 2015, 04:38 AM

I have added export to pdf button in my graph. On click, Following error occurs:

"TypeError: a[6] is undefined"

Kindly assist


6 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 18 May 2015, 05:45 AM
Hello,

Please provide a dojo snippet with the implementation that you are using so we could inspect it.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Shobhit
Top achievements
Rank 1
answered on 18 May 2015, 06:58 AM

I made some changes and it is working now, thanks for the response.

One question. Can we also download Gantt char in SVG, PNG, JPG format??

0
Dimitar Terziev
Telerik team
answered on 19 May 2015, 06:28 AM
Hi,

The build-in export of the gantt widget is the PDF one, but you could use our drawing API to export it in the desired format.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Shobhit
Top achievements
Rank 1
answered on 20 May 2015, 04:36 AM
Thank you for the answer, however when I am using the built in PDF download, it is independent of Scrolling but in case of using drawing API, data which is hidden due to scroll lost in the downloaded image/pdf.
0
Dimitar Terziev
Telerik team
answered on 21 May 2015, 01:58 PM
Hello,

Currently only the build-in pdf export offers the functionality to fully expand the gantt's timeline.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Bharathwaj
Top achievements
Rank 1
answered on 15 Feb 2018, 02:10 AM

Hi Shobhit, could you please tell me what fix you did? I am also having the same issue, getting an error saying "TypeError: a[6] is undefined". Thanks!!

 

Tags
Gantt
Asked by
Shobhit
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Shobhit
Top achievements
Rank 1
Bharathwaj
Top achievements
Rank 1
Share this question
or