using many examples online i was trying to print a header text to the top of the table. One thing i cant do is update the jsPDF and auto-table versions.This is due to some internal conflict where the code eventually goes. Question 1 is why is the the header not rendering to the top. Second question is how can i render html to the top of the header instead of just text. Currently the doc.text only takes string as a parameter.
i want to render something like : "Main Title small title " to the head
BeforePageContent is deprecated.. use :
didDrawPage : header
as replacement.