on 2023 Jan 20 5:06 AM
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,
and the controller code.
can you help me in this.
Is there an another way to do this better and much simpler.
Thank you.
Request clarification before answering.
Have you tried using ui5-tooling-modules to integrate jsPDF?
This should work better than copying the data manually.
https://blogs.sap.com/2021/11/15/using-npm-packages-in-ui5-without-shims/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.