jsPDF-AutoTable icon indicating copy to clipboard operation
jsPDF-AutoTable copied to clipboard

Adding New table with header on each page jsPDF

Open poohsasne opened this issue 9 years ago • 1 comments

Hi, For generating multiple tables i've set styles:{pagebreak:'auto'} which will add a new page only when the next row doesn't fit, But in myCase it is shifting to another page but header remains on previous page, i want header (doc.text) to be shifted along with table content(doc.autoTable()). Can anyone suggest me for the same

poohsasne avatar Dec 27 '16 11:12 poohsasne

You can use the addPageContent hook for this. Check the header-footer example in examples/examples.js.

simonbengtsson avatar Dec 27 '16 16:12 simonbengtsson