Hi,
As an expansion on my title, Im exporting a grid with some grouping to PDF, and the results make up 2 pages, but they are both being printed on the same page, please see the attachment so I dont sound crazy.
Here follows my template, pdf config and css styling:
<script id="template-pdf-export" type="text/x-kendo-template"> <div class="pdf-export"> <div class="header"> <div style="float: right">Page #: pageNum # of #: totalPages #</div> Version Number x.y.z </div> <div class="footer"> Page #: pageNum # of #: totalPages # </div> </div></script>
pdf: { fileName: "BFO-Export.pdf", landscape: true, margin: { top: "2cm", right: "1cm", bottom: "1cm", left: "1cm" }, paperSize: "A4", // Required so that template and scale are used scale: 0.8, // Scale down the text size when printing to PDF template: $("#template-pdf-export").html()} /* Basic styling for a PDF export template */.pdf-export { font-family: "DejaVu Sans", "Arial", sans-serif; position: absolute; width: 100%; height: 100%; top: 0; left: 0;}.pdf-export .header { position: absolute; top: 30px; left: 30px; right: 30px; border-bottom: 1px solid #888; color: #888;}.pdf-export .footer { position: absolute; bottom: 30px; left: 30px; right: 30px; border-top: 1px solid #888; text-align: center; color: #888;}
Please Advise.
Thanks,
Grant
