Table of contents on PDF
Table of contents on PDF
eliasmazur
Posts: 5Questions: 2Answers: 0
in Buttons
I'm using the pdfHTML5 to generate PDF out of the datatables. I know that the latest version of pdfmake allows for the creation of table of contents. How can I do it from the PDF button on my datatable?
Thanks.
This discussion has been closed.
Answers
The
customize
callback of thepdfHtml5
button type is how you can modify the pdfmake document structure that has been generated by Buttons.Allan
Thanks for the reply. I just realized that the pdfmake version included in datatables for pdfHtml5 does not support table of contents. I tried to include the new pdfmake library after the datables but it doesn't seem to work.
Perhaps you can link to a test case showing the issue? Are there any errors shown or anything? I haven't looked at the latest pdfmake releases for a while, so if they have changed their API, it might well be that something is not compatible now.
Allan