dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37898
HTML Reports - HTML to PDF
Hi All
We have got a requirement for downloading HTML Reports as PDF. Our HTML
Report is not complicated but it is also not basic. It has got colorful
text, tables, images, images inside tables etc.
It is not possible currently in DHIS to download HTML Report as
PDF(Although there is a workaround through the print button for chrome
browser).
Therefore, Have tried to do this inside HTML Report itself. But no success.
I used the javascript library *jsPdf*. Has anybody used this? or any other
library/workaround?
And, How to handle such requirements (Download as excel ,PDF) for HTML
Reports? Is it a good approach to do this inside the HTML Report?
Any Help is Appreciated.
Regards
harsh