Hi Team,
Export to html is throwing below error on some cases. we are observing this after the latest version(v2.6.3 ) upgrade. attached screenshot for your reference.
Uncaught TypeError: Cannot read property 'VD' of undefined
at f.YJ (ConcertUI-0.0.1.js?b688f12f1c:6)
at b.OS (ConcertUI-0.0.1.js?b688f12f1c:6)
at ConcertUI-0.0.1.js?b688f12f1c:6
Hello, Rudra,
Thank you for writing to us.
From the screenshot, we can see that the error is happening inside ConcertUI-0.0.1.js file so we suggest checking it. We have checked in our demo that HTML export is working fine: https://www.flexmonster.com/demos/js/pivot-table/. Please let me know if everything works fine on your side.
Regards,
Tanya
Hi Tanya,
we are merging all js to a single file(concertUI-0.0.1.js). the error doesn't come in v2.6.1 we see the error after upgrading to v2.6.3.
I see the error in flexmonster.js at code "n2r=S2r.style.VD()" were S2r is getting as undefined which is causing below error
Uncaught TypeError: Cannot read property 'VD' of undefined
for temporary fix, i have added a condition for S2r.style "S2r.im&&(S2r.style)&&(n2r=S2r.style.VD(),".
the error doesn't come for every report. maybe it specific to some type of data. please let me know if you need more info here.
Hello, Rudra,
Thank you for your reply.
We have performed some additional tests and reproduced the issue you reported. It happens when customizeCell
is used to modify the cells. Our team will add the fix for this issue and release it on October the 8th.
Please let me know if on your side this error is also happening when customizeCell
is used. This would help us to make sure the fix covers all necessary cases.
Waiting for an update from you.
Regards,
Tanya
Hi Tanya,
Thanks for your reply.
Yes we are using customizeCell
to modify the cells. when removing customizeCell
then i don't see any issue. i think the issue appears when we use customizeCell.
Thanks
Rudra
Hello, Rudra,
Thank you for your feedback. We will keep you updated on this case.
Regards,
Dmytro
Hello Rudra,
We are glad to inform you that the version with the fix has already been released.
You are welcome to update to the latest version and try it.
Regards,
Dmytro