Inconsistent .pdf display with project

December 03, 2021 05:08:54
Radek
Topics: 5
Messages: 15
Hi,

I am having a problem generating a pdf correctly. Everything was working fine until now, unfortunately after the update the pdfs are not generating properly. On the administration side it shows the tables well and on the preview the table has only 3 columns. How can I solve this problem.

Thank you for your help
December 03, 2021 06:52:39
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

We are sorry for inconvenience.

As we understand you updated plugin to RC 1.17.x version. Issue happens due the incorrect number of table columns on 1st row as in 1.17.x version it was added some fixes for correct support of "colspan" and "rowspan" which required us to change some behavior of rendering "HTML" tables. Browsers can render such tables however current version of E2Pdf (1.17.x) - can't. It must be used correct number of rows on 1st row so it can be converted correctly to PDF format. As currently 1.17.x is RC version, we hope that we will be able to add backward compatibility for such "built" tables till "stable" release however it's not guaranteed as this moment.

To fix this on current version - you can try to just correct the number of columns in 1st "row" by adding another "td" element as:

<td colspan="8" rowspan="2"></td>

Table on backend and PDF must look like on attached screenshots after correction.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
December 03, 2021 07:57:00
Radek
Topics: 5
Messages: 15
For me, it is a very good solution, what you provided, I am satisfied. Thank you for fast help....

Regards
Radek
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.