On React Type Script, What data type can I assign to Handsontable.helper.createSpreadsheetData?

Tags: #<Tag:0x00007f24951c6810>

Hello

Currently I am working on React &Type Script Project.
how can I define data type for
const hotData = Handsontable.helper.createSpreadsheetData(10, 5);

Regards

The createSpreadsheetData() method is a helper. It creates an array of arrays with some A, B, C... XYZ data in cells. IT is only there in our demos to help us represent data within cells.

When it comes to using ‘real’ data in your project here https://handsontable.com/docs/binding-to-data/ is the quick tutorial with demos, that include

  • array of arrays
  • array of objects
  • JSON