Can we Add images dynamically
Can we Add images dynamically
rocky_5
Posts: 2Questions: 0Answers: 0
I have scenario to display two tables of different columns in one PDF file. I tried to convert first table as image using html2canvas and trying to add that string into "image: ". But it's not working out. Can you please suggest me the best way to do it.
Thanks in Advance
This discussion has been closed.
Replies
Hi @rocky_5 ,
I think that would be tricky to do. Would the tables be more than a page of data each?
Cheers,
Colin
Hi @colin ,
1st table is small one only. I'm trying to convert that small table into image and add on top of the second table data.
Thanks
Hi @rocky_5 ,
I can't think of a simple way to do PDF. For print, you could open a new window that duplicates the two tables, but that would be messy, and you alert the user to use the standard print functionality of the browser. I can't see how it could be done for PDF unfortunately. Hopefully someone else has some clever ideas!
Cheers,
Colin