Posted 8 April 2025, 1:45 pm EST - Updated 8 April 2025, 1:50 pm EST
Hi. Quick question…In the case I were to just include the SpreadJS and Designer component on a UI page:
…If I have the SpreadJS stuff:
gc.spread.sheets.all.x.x.x.min.js
And the Designer files:
• gc.spread.sheets.designer.resource.en.x.x.x.min.js
• gc.spread.sheets.designer.all.x.x.x.min.js
… do I really need these?:
*gc.spread.sheets.io.x.x.x.min.js
*gc.spread.excelio.x.x.x.min.js
*FileSaver.min.js
…to do importing and exporting of Excel files? Or is this baked into the designer.all code?
My understanding is…, you could create an independent Import and Export feature w/o the Designer component, just the SpreadJS spreadsheet grid and then you would need these to emulate the import/export functionality baked into the Designer.
I went ahead and tested this wrote some code to Export a file from the SpreadJS Designer…separate from the File tab on the Designer:
… and when I commented out the FileSaver.min.js I got a Type Error message:
That is I have code separate from the Designer code, for this control to Export the contents as an xlxs file.