I would create a PDF-Document with a table and it works, but the table is to long for one page, how can I 'cut' the table in two? Means the first 60 rows of table on page one and the next 100 on page two. The code (reduced):
function createDoc() {
[...]
pdf.addHTML(document.getElementById('svg_graph'), 20, 110, function () {
pdf.addPage();
pdf.addHTML(document.getElementById('table'), 40, 40, function () {
pdf.save('AjaxReport-' + curNum + '.pdf'); });
});
};
curNum is a string.