0
I am printing a table with jsPDF + Autotable and I want the filter section of the page to be always printed in the header of each page. As the example below is only printed on 1 page...?
function printHTML() {
var doc = new jsPDF('p', 'pt');
var res = doc.autoTableHtmlToJson(document.getElementById("table-content"));
doc.setFontSize(13);
doc.setFontType("bold");
doc.text('header1' , 20, 40);
doc.setFontSize(9);
doc.setFontType("normal");
doc.text('header2', 20, 52);
doc.autoTable(res.columns, res.data, options);
doc.save("table.pdf");
};