1- The time it takes to export data to PDF is almost 10 times the excel export for the same set of data.
2- Firefox is giving the warning dialog box (attached) that the script is unresponsive.
thanks
7 Answers, 1 is accepted
Hello Brian,
I have already answered the same question in the support thread that you opened, but I will copy my answer here as well:
I am afraid that the issue is not a known one, nor is reproducible in our online demos, so please extract a runnable sample in a Kendo UI Dojo and we will be happy to help.
As for the difference between the pdf and excel export generation - these two features are not related and cannot be compared performance wise.
Regards,
Kiril Nikolov
Telerik

Note that redrawing DOM objects in a PDF file is a big and heavy task. So the performance will depend on the browser and the actual user machine. If the delay comes with increasing the number of extracted records, then we can consider this as expected.
Regards,
Kiril Nikolov
Telerik by Progress

Hello, Lee,
I just tested exporting 1 gauge, 1 bar chart, 1 map, and 2 grids and it took about 0.6 seconds.
https://dojo.telerik.com/@bubblemaster/itIvuyES/2
I would suggest you check if the Pako Deflate library is included on the page as it really helps with compression:
https://docs.telerik.com/kendo-ui/intro/supporting/export-support
In addition to that, if there are images like Map tiles or grid templates you could see if these images are taking a toll on the process and return images at the size that is being used on the page as opposed to larger images.
Let me know how I may assist you further.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik

$("#impactTable").kendoGrid({
dataSource: {
data: data
},
excel: {
fileName: "Impact Table.xlsx",
filterable: true
},
pdf: {
fileName: "Key Item Impact.pdf",
paperSize: "Letter",
landscape: true,
scale: 0.7,
margin: { top: "0.5in", left: "0.25in", right: "0.25in", bottom: "0.5in" },
title: "Key Item Impact",
multiPage: true,
repeatHeaders: true,
avoidLinks: true,
template: $("#keyItemImpactPDFTemplate").html()
},
rowTemplate: kendo.template($("#keyItemRowTemplate").html()),
columns: keyItemImpactColumns,
sortable: true,
toolbar: [
{ template: standardGridToolbar("keyItemImpact") }
],
search: {
fields: ["catName", "itemID", "itemName", "storeCount"]
},
dataBound: function (e) {
$('#itemImpactTableSpinner').removeClass('show');
$('#impactTable .dropdown-trigger').dropdown();
}
});
