Hello,
I am trying to use the React Spreadsheet component as shown but have ran into an issue:
TypeError: Bind must be called on a function
at bind (<anonymous>)
at s (index.js:1)
at ae (index.js:1)
at t.eval [as cells] (index.js:1)
at d (index.js:1)
at t.e.setProperties (index.js:1)
at ae (index.js:1)
at t.eval [as rows] (index.js:1)
at d (index.js:1)
at t.e.setProperties (index.js:1)
Note the that initialisation looks like this
<Spreadsheet
showRibbon={false}
showFormulaBar={false}
allowSave={false}
sheets={workbook.sheets}
/>
and also note that the workbook is being produced on the server using your XLSIO library. An example snippet of the sheets array I am trying to load:
FYI The JSON we are using is based on this example file
https://file-examples.com/wp-content/uploads/2017/02/file_example_XLS_50.xls
Can you confirm how I can resolve this?