Skip to Content
0
Jan 20, 2023 at 05:06 AM

jsPDF Error: autoTable is not a function

317 Views

Hi, I have been trying to download an M table data into a PDF using jsPDF library.

For normal text, the functionality is working fine. I am able to create and download PDFs.

The methods/functionality that are available inside the jsPDF Class are all working fine. The extension libraries seems to not work at all.

For the Table, it is showing autoTable is not a function.

(for some reason I am not able to upload the code here directly as it is not getting formatted properly so I am posting images).

here are the libraries that I have used in the manifest file,

image.png

and the controller code.

image.png

can you help me in this.
Is there an another way to do this better and much simpler.

Thank you.

Attachments

image.png (26.7 kB)
image.png (63.2 kB)