Ashleyuk1984
Active Member
Hi,
I'm wanting to export my HTML table to a PDF file.
I've found this script, Export HTML Table to PDF using jsPDF - JSFiddle and it does pretty much what I want it to do.
However, I would like to add an image to the top of the 'exported' PDF file (with a small piece of text underneath the image), and a small piece of text underneath the actual table. But I don't want the image or the text to be shown in the HTML file.
So ideally, I'd like to add those bits within the actual function part of the code.
HTML would show just the Table.
Exported PDF would look like:
Can anyone help with this please?
You can edit the jsfiddle above, and just 'update' the code. You'll be given a new URL with your updates.
Thank you
I'm wanting to export my HTML table to a PDF file.
I've found this script, Export HTML Table to PDF using jsPDF - JSFiddle and it does pretty much what I want it to do.
However, I would like to add an image to the top of the 'exported' PDF file (with a small piece of text underneath the image), and a small piece of text underneath the actual table. But I don't want the image or the text to be shown in the HTML file.
So ideally, I'd like to add those bits within the actual function part of the code.
HTML would show just the Table.
Exported PDF would look like:
Image
Text
HTML Table
Text
Can anyone help with this please?
You can edit the jsfiddle above, and just 'update' the code. You'll be given a new URL with your updates.
Thank you