Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

Export PDF in IE 11 there are errors

Yordanka Ilieva asked on May 19, 2020

I try to export PDF in IE11, but there is a javascript error “Export PDF error: TypeError: Object doesn’t support property or method ‘splitTextToSize'”. I updated flexmonster to 2.8.7. Can you help me to fix this error and to make IE11 export?

Thank you


3 answers

Vera Didenko Flexmonster May 20, 2020

Hello, Yordanka,
Thank you for writing to us. 
We have not managed to reproduce the issue on our demo using Internet Explorer 11 (version 11.836.18362.0) and the latest version of Flexmonster 2.8.7.
Could you please provide more details and steps on how to reproduce the issue?
Looking forward to your response.
Kind regards,

Yordanka Ilieva May 20, 2020

I debug the code and find where is the difference in my implementation and yours. 
I use RequireJS and in promise.min.js I see that goes on define(“promise”, n)  parts. 
After that my “Promise” stile is undefined and when load jspdf.min.js throw an exception “‘Promise’ is undefined”

Vera Didenko Flexmonster May 22, 2020

Hello, Yordanka,
Thank you for your reply and for providing further details. 
We have managed to reproduce the issue in Internet Explorer 11 using our requireJS sample on GitHub:
Our team will investigate this problem further and we will provide the results of our research with the ETA 16th of June.
Please let us know if this would work for you.
If any additional questions arise, please feel free to reach out.
Kind regards, 

Please login or Register to Submit Answer