Need a special offer?Find out if your project fits.
+

JavaScript error when exporting to Excel, HTML, PDF, etc in Felxmonster

Answered
Yuriy Mirskiy asked on May 26, 2020

Hello,
We are running version "Flexmonster Pivot Table & Charts v2.7.11" and recently we updated our entire application with some new JS files, some old were removed. After this update, Flexmonster export stopped working. We believe there might be some conflict with the new JS files (there is a very long list). Flexmonster is the only one that broke when we updated the software and I was wondering if you can shine some light onto this.
My JS export code is:

flexmonster.toolbar.exportHandler("html");
flexmonster.toolbar.exportHandler("csv");
flexmonster.toolbar.exportHandler("excel");
flexmonster.toolbar.exportHandler("image");
flexmonster.toolbar.exportHandler("pdf");

I even tried:

flexmonster.exportTo('pdf');
flexmonster.exportTo('csv');

The error that I get whenever I try to export:
file.min.js?2.7.11:2 Uncaught TypeError: Cannot read property 'createElementNS' of undefined
at file.min.js?2.7.11:2
at file.min.js?2.7.11:6
flexmonster.js:9 Uncaught TypeError: savingAs is not a function
at G7B.fb (flexmonster.js:9)
at G7B.Uf (flexmonster.js:9)
at HTMLScriptElement.R7B [as onreadystatechange] (flexmonster.js:9)
 
Please advise.
Thanks
Yuriy

2 answers

Public
Yuriy Mirskiy May 26, 2020

We found the issue, let's close this ticket for now. If anything I'll add more comments to this forum. Thanks

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster May 27, 2020

Hi Yuriy,
 
It is great to hear that your issue was resolved.
 
Feel free to reach out to us if any other questions come up!
 
Best regards,
Mykhailo

Please login or Register to Submit Answer