Posted 11 August 2023, 2:44 am EST
Hi,
Do we have pure JavaScript version 16?
Regards,
Priyatama Bhadke
Forums Home / Spread / SpreadJS
Posted by: priyatama.bhadke on 11 August 2023, 2:44 am EST
Posted 11 August 2023, 2:44 am EST
Hi,
Do we have pure JavaScript version 16?
Regards,
Priyatama Bhadke
Posted 13 August 2023, 11:39 pm EST
Hi Priyatama,
You could refer to the attached PureJS sample using the SpreadJS V16. All the script/css files are also included in the sample.
Moreover, you could refer to the following Demo on Getting Started with PureJS Sample: https://www.grapecity.com/spreadjs/demos/quickstart/quickstart-js
https://www.grapecity.com/spreadjs/docs/getstarted/trial_SpreadJS
Also, you may download the latest version of SpreadJS using the following link: http://cdn.grapecity.com/spreadjs/16.1.4/Files/SpreadJS.Release.16.1.4.zip
It also contains the SpreadJS and SpreadJS Designer Component (https://www.grapecity.com/spreadjs/docs/spreadjs_designer_component) samples in Pure JS and other frameworks like React, Angular, Vue.
Regards,
Ankit
Sample: SpreadJS-PureJS-V16.1.4.zip
Posted 20 August 2023, 11:35 pm EST - Updated 20 August 2023, 11:41 pm EST
Hi Ankit,
Please find attached file and error I am getting. Can you please have a look at my file and let me know what Is wrong with my code?
Regards,
Priya B
Posted 21 August 2023, 4:41 am EST
Hi Priya,
In the sample that you have shared, it seems like you haven’t included the following script:
"<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/gc.spread.sheets.all.16.2.0.min.js"></script>"
If you look into the error, it says that “GC” is not defined. The “GC” object is included with the above mentioned script. Make Sure to include the above mentioned script and let us know if the issue still persists for you.
Ideally, you should include the following scripts in the mentioned scripts:
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/gc.spread.sheets.all.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.charts.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.shapes.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.slicers.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.print.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.barcode.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.pdf.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.pivot.pivottables.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.tablesheet.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.ganttsheet.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.formulapanel.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/plugins/gc.spread.sheets.io.16.2.0.min.js"></script>
<script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/interop/gc.spread.excelio.16.2.0.min.js"></script>
<script type="text/javascript" src="./lib/scripts/gc.spread.sheets.designer.resource.en.16.2.0.min.js"></script>
<script type="text/javascript" src="./lib/scripts/gc.spread.sheets.designer.all.16.2.0.min.js"></script>
I have also included a PureJS Designer Sample. If the issue still persists for you, kindly share us a full working sample so that we could investigate the issue at our end and could assist you accordingly.
If the sample includes sensitive information, I request you to kindly create a case on our private portal by visiting: https://www.grapecity.com/my-account/my-support and creating a new ticket.
Regards,
Ankit
Posted 22 August 2023, 11:07 am EST
HI Ankit,
Thanks for your help and sharing a working example along. It works for me. Happy to close the ticket.
Regards,
Priya B
Posted 22 August 2023, 11:54 pm EST
Hi Priya,
We are happy that your issue has been resolved. Thanks for the feedback.
Regards,
Ankit