Dear Sir / Madam,
At grid PDF export, in case of allPages: false --> Actual rows are rendered to multiple pages properly, but all pages are written on the first page.
It works well, if I set "options.pdf.multiPage" to "true", but it is not in API reference.
A solution might be if this variable is fixed to true in grid prototype "saveAsPDF" function:
"options.multiPage = true;" instead of "options.multiPage = options.multiPage || options.allPages;"
Please see this example: https://dojo.telerik.com/usUnUziL/2
Step 1: press "Export to PDF" --> Result: wrong pdf
Step 2: press "Set multiPage: true"
Step 3: press "Export to PDF" --> Result: good pdf
Best Regards,
Szabolcs Tóth
Hello, Szabolcs,
I can confirm that the reported behaviour is an issue and I have logged it in our public repository. I have also converted this item into a public one and it is available here:
https://feedback.telerik.com/kendo-jquery-ui/1429533-grid-pdf-export-bug
I added an additional vote to the bug report on your behalf in order to increase its priority. You will receive email notifications about future status changes.
Finally, as a small token of appreciation, I have updated your Telerik points
Regards,
Alex Hajigeorgieva
Progress Telerik
pdf: {
multiPage:
true
,
avoidLinks:
true
,
paperSize:
"A4"
,
margin: { top:
"2cm"
, left:
"1cm"
, right:
"1cm"
, bottom:
"1cm"
},
landscape:
true
,
repeatHeaders:
true
,
template: $(
"#page-template"
).html(),
scale: 0.8
},