webix.toExcel broken?

Hi

Just recently without any changes at all to our code our webix.toExcel is not working. When we try and open up the excel file we get this error:
"We found a problem with some content in 'Data.xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes."

We are using Webix UI v.6.1.6 and haven't had any code change on our side for months around this area.

For testing purposes, I replaced it with webix.toCSV with the same data (on pivot table as well as regular data table). The CSV file opens up but the data seems like very odd characters that are unreadable. I suspect this is what is breaking excel trying to open it.

Has there been any update to the js file that sits on webix CDN that may have caused this to break?

Has anyone experienced anything like this? Would appreciate if any assistance or feedback. Thanks in advance.

Comments

  • Hello, @Weetabix

    Could you please test the same code in a different environment, to become sure that the problem is in code?
    The point is that toExcel and toCSV have different approaches (toExcel uses a third-party library that is taken from our CDN, but toCSV does not use the library). Therefore, what is happening is very similar to browser issues.
    In case the problem reoccurs, please, try to create an example in the snippet tool(version 6.1.6 is connected here), which will reproduce the problem.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion