This is a migrated thread and some comments may be shown as answers.

Export to PDF for gantt timeline and contents separately

1 Answer 61 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 05 Sep 2018, 01:58 PM
Hi, Is there any possibility to export to PDF for gantt timeline view and contents view separately? Reply asap.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 07 Sep 2018, 08:35 AM
Hello Ramada,

You can export only the timeline, by using the kendo drawing and passing the .k-timeline element to the drawDom method:

$("#button1").click(function(e){ 
     var drawing = kendo.drawing;   
      drawing.drawDOM(".k-timeline").then(function (group) {
      group.options.set("pdf");
      drawing.pdf.saveAs(group, "filename.pdf");
  });

Please refer to the following dojo, where the above example is implemented:

https://dojo.telerik.com/@nenchef/EZIfuFIp/2

Regards,
Nencho
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Gantt
Asked by
n/a
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or