Hello,
I have just began my project on Handsontable. Currently I’m going through the tutorials (https://handsontable.github.io/angular-handsontable/examples/settings-object)
I followed every step to create a spreadsheet as mentioned in the tutorial.
app.component.ts
settings = {
data: Handsontable.helper.createSpreadsheetData(25, 50),
colHeaders: true,
rowHeaders: true,
}
app.component.html
<hot-table [settings]=“settings”>
But when I run the code I am getting an error in browser console:
ERROR TypeError: Cannot read property ‘helper’ of undefined
Am I missing anything? Please help