I am using Handsontable through component, but now I need physicalRow for each row for which I need current Handsontable instance.
<hot-table
settings="$ctrl.settings"
hot-id="my-handsontable"
read-only="true"
datarows="$ctrl.issueData">
</hot-table>
So on clicking any row, I want that row to be converted to physicalRow
afterOnCellMouseDown: function (event, coords) {
let index = hotInstance.toPhysicalRow(coords.row)
if (coords.col == 0 && coords.row != -1) {
ctrl.selectIssue(index);
}
},
So I want to access the instance of this current hotTable.
PS I tried HotTableRegisterer, but as we have Angular 1 and are directly using handsontable through its handsontable.full.js and handsontable.js files, I don’t know how to use HotTableRegisterer in this case.