Export to PDF too slow

1 Answer 427 Views
Drawing PDF Export
Soumalya
Top achievements
Rank 1
Soumalya asked on 22 Oct 2021, 07:18 AM

Hello Team,

We are using the Kendo drawing library(drawDom and exportPDF methods) for PDF export in Angular 12. We can have multiple charts and grids that can be dynamically added to be downloaded as PDF and these charts and grids can be further customized by end user. So this has to be handled from client-side only. 

When we are trying to export to PDF, the process is very slow. On debugging, we observed that the exportPDF method is taking a lot of time to complete its execution.

Please suggest if there are any ways/work-arounds by which we can achieve some performance improvement in the PDF export.

Soumalya
Top achievements
Rank 1
commented on 25 Oct 2021, 12:49 PM

Hello Team, 

Is there any update on the above query ?

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 25 Oct 2021, 06:35 PM

Hi Soumalya,

Please review the following pertaining to DOM Elements/Performance, Resources, and Feature Feedback:

DOM Elements/Performance

The client-side PDF rendering depends entirely on the size of the DOM tree being rendered and the DOM access performance of the target browser.  If there are a large number of elements being manipulated and changed, the drawDOM method will be slower.  Additionally, PDF Export of the data-visualizing widgets such as charts and gauges is not supported.  

Resources

We have some dedicated documentation regarding how to properly configure Drawing DOM Elements and PDF Exporting with Kendo UI for Angular which may help with your web application.  Please take a look and ensure the implementation is within the limitations expected:

Feature Feedback

If you would like to request a specific feature which may help in regards to Kendo UI Drawing capabilities, please feel free to share your ideas in our Progress Kendo UI for Angular Feedback Portal where the developer community can vote on great ideas and possibly spark new implementations for our libraries.  

Regards,
Patrick
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.
Tags
Drawing PDF Export
Asked by
Soumalya
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or