jspdf not working when called in other php file

Questionsjspdf not working when called in other php file
Adarsha Palwe asked 2 years ago

Hi,

I am working on pdf report generation which involves getting images from s3 bucket and putting those images in the pdf report along with the grid contents.

When I call jspdf on the same page where grid is defined, jspdf works fine and pdf report is generated, but since I want to get images from s3 bucket and put those images in the pdf I called jspdf function in the new php page where I am calling the s3 getObject, no pdf is generated.

Could you please help to provide me with an example of a similar case.

Kind Regards,

Adarsha

Code Link: https://gist.github.com/apalwe/8c9913b0bfb67d3e30e73ac57b613f06

1 Answers
Abu answered 2 years ago

Hello,

What I understand from your question,

Jspdf export customization like you are doing is out of the scope of technical support of datagrid and it does not involve datagrid library.

Perhaps you can refer jspdf support on stackoverflow or GitHub.

Your Answer

7 + 5 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?