Error instance.getSelectedRangeLast is not a function

Tags: #<Tag:0x00007efc645f4df0>

What is the reason behind getting an error ‘instance.getSelectedRangeLast is not a function’.
It is throwing an error in handsontable.js in the function,

function eachSelectedCheckboxCell(callback) {
instance.getSelectedRangeLast();
}
In the table on any edited row, when I use “SPACE” key to edit any value in a cell I get this error.

Hey @krish

It looks like the instance returns undefined. Have you tried to console it? It is a core method so it has to work for the instance.
You also should check if anything is selected by calling the method. The outsideClickDeselects is set to true by default so if someone clicks a button the selection is erased.

I figured out there was an issue with the checkboxrenderer that I am using.

Thank you for the update.

I guess that we can close the topic.