Multiple Tables in Single PDF print
Multiple Tables in Single PDF print
kencoleau
Posts: 17Questions: 5Answers: 0
Hi,
dataTables 1.10.13
I searched and found references to my problem but no answers it would seem for the version I am using.
I have on a single page multiple dataTables each with their own html5 buttons working nicely.
I would like to have another PDF button that will put all the tables on that page in one PDF.
How can I achieve this please?
Ken
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
As you'll probably have seen in the other answers to this question, there isn't a built in way of doing this. You would need to use the
customize
callback of thepdfHtml5
button type, in combination with the pdfMake API (refer to the pdfMake documentation for details about that) to add the second table.Allan
Could you please explain a bit more on how can this be achieved. Thanks!
Sorry no - as I don't know myself. As I noted above you'd need to refer to the pdfMake documentation as this is something that is outside the scope of DataTables.
Allan