Hi,
im using Handsontable with nestedRows in Angular and in want to calculate the sum over each group. I found the following example in the documentation: Tutorial: Summary Calculation. Now I copied the example to my code and adjusted it to typescript and used the Angular Wrapper to get my hot-Instance. Now the particular code where my issue comes looks like this:
const nestedRowsPlugin = this.hotRegisterer.getInstance(this.hotId).getPlugin('nestedRows');
const getRowIndex = nestedRowsPlugin.dataManager.getRowIndex.bind(nestedRowsPlugin.dataManager);
And i get the following error:
error TS2339: Property ‘getRowIndex’ does not exist on type ‘void | DataManager’.
Can you help me with this issue?
Thanks