Hello guys.
Basically I'm trying to export my grid to PDF and this works just fine simply reading kendo documentation. But when I open this generated PDF, it looks just like a printscreen to me. What I wanna do is change it, use some kind of custom template (e.g html) or something and beautify this.
I'm only using this lines of code for properly working:
var grid = $("#grid").data("kendoGrid");
kendo.drawing.drawDOM($("#grid")).then(function (group) {
kendo.drawing.pdf.saveAs(group, "test.pdf");
});
Is there some way of doing this? (Changing this generated PDF layout)
4 Answers, 1 is accepted
The Grid offers a built-in PDF export which allows certain modifications to be made to the exported document, like a template, a watermark etc:
http://demos.telerik.com/kendo-ui/grid/pdf-export
https://docs.telerik.com/kendo-ui/controls/data-management/grid/pdf-export
Please check all of the built-in options:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-pdf
Let me know if additional assistance is needed on this matter.
Regards,
Stefan
Progress Telerik


The Grid offers a built-in PDF export which allows certain modifications to be made to the exported document, like a template, a watermark etc:
http://demos.telerik.com/kendo-ui/grid/pdf-export
https://docs.telerik.com/kendo-ui/controls/data-management/grid/pdf-export
Please check all of the built-in options:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-pdf
Let me know if additional assistance is needed on this matter.
Regards,
Stefan
Progress Telerik
[/quote]
These links all go to 404 pages.
Hello, Lee,
When I tested the links, the first one redirected me to the demo with HTTPS:
https://demos.telerik.com/kendo-ui/grid/pdf-export
The last one, redirected me to the pdf configuration that is currently at this address:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/pdf
However, the second one indeed resulted in a 404. Thank you for reporting it. I have updated your Telerik points accordingly and fixed the previous URL.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik