i want to download the table content into PDF file using PDF DOWNLOADER WIDGET

1
0
-1

can anyone help me with creating the pdf downloader widget

2 answers

1
0
-1

In the canvas scope can we add the modal ID. so that i can just give the modal id there and will covert all the HTML of the modal container to pdf

Or esle afterr selecting Body i shall be able to convert the complete window. here what is converting is the only part that is visible and the part which is not visible that can be seen by scrolling down is not converted.

1
0
-1

Hello, not sure if this is what you want but you can check the widget_html2pdf at the Bonita Comunity github: https://github.com/bonitasoft-community

Comments

Submitted by ywadichar51_1989401 on Thu, 09/10/2020 - 16:18

In the canvas scope can we add the modal ID. so that i can just give the modal id there and will covert all the HTML of the modal container to pdf

Submitted by apazos_1421787 on Wed, 10/14/2020 - 13:46

You need to specify a Class on the modal ID and the same Class on the html2pdf widget.

Submitted by ywadichar51_1989401 on Fri, 10/23/2020 - 09:18

yes i did that but it is only the data limited to single page the left over data is not converting

Submitted by apazos_1421787 on Fri, 10/23/2020 - 09:21

I'm not sure what you mean.
If you specify the same class of the complete container it will generate the PDF of the complete container.

Submitted by ywadichar51_1989401 on Fri, 10/23/2020 - 09:30

yes it should be but it is only coverting the content that occupis a A4 size paper and the leftover data is not presenting

Submitted by apazos_1421787 on Fri, 10/23/2020 - 09:32

You are right, In my testing that custom Widget only works for a single page.

Submitted by ywadichar51_1989401 on Fri, 10/23/2020 - 12:25

how can we use it for more than one page

Notifications