0

There's a way to have column's header on all the printed page of PDF?

I can see the column's header on the first page but they are missing for the other pages.

here is command i'm using:

webdatarocks.exportTo(
    "pdf",
{filename: "test_file+.pdf", pageOrientation: "landscape",
header:"<div style='width: 100%; font-size:100%'><span style='float: left;'>ditta</span>\
<span style='float: right;'>Pag. ##PAGE-NUMBER##</span></div>\
<div style='text-align: center; font-size:150%;'>titolo</div>\
<div style='text-align: left; font-size:100%;'>note</div>"}
);
Stefano
  • 3
  • 2

1 Answers1

0

I faced a similar issue before. Maybe, exporting to HTML would work for your case:

webdatarocks.exportTo("html",
{
filename: "test_file+",
header: "<div style='width: 100%; font-size:100%'><span style='float:left;'>ditta</span>\
<span style='float: right;'>Pag. 1</span></div>\
<div style='text-align: center; font-size:150%;'>titolo</div>\
<div style='text-align: left; font-size:100%;'>note</div>"}
);