Posted 9 April 2023, 6:51 am EST
Hi Can we use spreadJS in React functional component. Please let me know of any quirks I need to be aware of
Forums Home / Spread / SpreadJS
Posted by: datta on 9 April 2023, 6:51 am EST
Posted 9 April 2023, 6:51 am EST
Hi Can we use spreadJS in React functional component. Please let me know of any quirks I need to be aware of
Posted 11 April 2023, 1:57 am EST
Hi,
SpreadJS does support the React functional component. Currently, there is no such known limitation or issue using it with the React Functional Component.
You could refer to the following demo on creating a React Application using SpreadJS: https://www.grapecity.com/spreadjs/demos/quickstart/quickstart-react
I have also created a sample for you using SpreadJS functional component: https://jscodemine.grapecity.com/share/QDyuJCYFyESzuSSLbtG2jg/?defaultOpen={"OpenedFileName"%3A["%2Fsrc%2Fapp.jsx"%2C"%2Fsrc%2Fstyles.css"]%2C"ActiveFile"%3A"%2Fsrc%2Fapp.jsx"}
Also, the SpreadJS Demo website shows the use of React Functional components: https://www.grapecity.com/spreadjs/demos/features/workbook/initialization/react
Please let me know if you face any problems.
Regards,
Ankit