Jspdf-autotable: How to add a footer text just below the table

Created on 4 Aug 2017  路  2Comments  路  Source: simonbengtsson/jsPDF-AutoTable

Hi,
How do you add a footer text just below the table? I cannot hardcode the position of the footer text, as the table could be different rows, hence different height

Regards,

Most helpful comment

I got it.
This is the key doc.autoTable.previous.finalY.
doc.text("My footer" ,options.margin.left, doc.autoTable.previous.finalY+30)

All 2 comments

I got it.
This is the key doc.autoTable.previous.finalY.
doc.text("My footer" ,options.margin.left, doc.autoTable.previous.finalY+30)

Hi, how can i add text to the previous text using JSPDF?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ayozebarrera picture ayozebarrera  路  3Comments

andrico1234 picture andrico1234  路  5Comments

bsparacino picture bsparacino  路  3Comments

cplaiu picture cplaiu  路  3Comments

Alorse picture Alorse  路  4Comments