Posted 30 April 2021, 11:03 pm EST
So I’ve been trying to integrate SpreadJS Designer Component (https://www.npmjs.com/package/@grapecity/spread-sheets-designer-react) into my React project. After trying for sometime I got this to work like this,
<Designer
styleInfo={{ width: "100%", height: "calc(100vh - 25px)" }}
></Designer>
But how can I input a JSON file into this through props. What other props are there to access? I couldn’t find any documentation related to this. I’m looking for a prop to get and set the document JSON. that’s pretty much it.
Thanks in advance.