Hello,
I'm using the following code to export a grid with a few hundred rows:
kendo.drawing.drawDOM($("#resultsGrid"),
{
allPages: true,
avoidLinks: true,
paperSize: "A4",
multiPage: true,
landscape: true,
margin: { top: "4cm", right: "1cm", bottom: "1cm", left: "1cm" },
repeatHeaders: true
}).then(function (documentgroup)
{
kendo.drawing.pdf.saveAs(documentgroup, "myfile", "pdf"));
});
The pdf settings on the grid look like this:
pdf: {
allPages: true,
repeatHeaders: true
},
The grid exports fine but does not repeat the headers on each page. They are only present on the first page. Any ideas what would prevent "repeatHeaders: true" from repeating the headers on every page of the exported PDF file?
Thanks,
Jonesy