Posted 27 January 2023, 9:58 am EST
I dont think you will be able to create a SJS file on the server side.
SJS seems to use internally so called typedArrays - which is a kind o binary stream.
And I dont think that GrapeCity are going to provide any detail about the internally structure of this “stream.”
Also: It make no sense at all … to me …
But that´s my assumption!
So finally I am pretty sure that your design is wrong.
Re-think why there is a need to implement it as you described it!
Think about alternatives - like:
The SpreadJS can fully designed/createdmanipulated/ on client side.
There are hundreds of client side (javascript/ ts / …) methods to handle every thing you can imagine! I never ever run out of out-of-the-box available methods provided by GrapeCity!
So think about to “move” your sever side logic to the client.
Communicate via api calls to send data back and forwards …
I am sure there is min. one solution for your requirements already in the set of GrapeCity methods …