Posted 5 October 2023, 4:22 am EST
I’m currently working on an Angular project that utilizes SpreadJS, and I’ve encountered an issue when saving and reopening .sjs files. Here’s a brief overview of the problem:
Initially, I create a .sjs file and save it successfully within my application. When I open the saved file, everything works perfectly, and the content loads as expected.
However, if I save the same file again and then attempt to reopen it, the file fails to open. Even when I try to open it in the SpreadJS Designer (https://www.grapecity.com/spreadjs/designer/index.html), I receive an “incorrect file format” error.
This discrepancy between the first saved file and the subsequent ones is puzzling, and I’m not sure what could be causing it. I have checked for any changes or corruptions in the file format but have not been able to identify the root cause.
I’m reaching out to this forum in the hopes that someone might have encountered a similar issue or have insights into why this might be happening. Any suggestions, tips, or explanations would be greatly appreciated.
Thank you for your time and assistance!
Best regards,
Bruno Santos