with Handsontable 0.26.1 after change of a value in table1 I switch to table2, but get TypeError: priv.selRange is null. I made this fiddle and there I get TypeError: c.selRange is null – the handsontable.js there may be different to my local script. I can only navigate with the keys after I select a cell in table2 with the mouse (the selected or another).
As I didn’t find a similar problem in the web in general as on stackoverflow in particular – here I asked this question too –, maybe it’s something I overlooked. What have I to do, in order to get this behaviour without an error?
thank you for your reply! It sounds so easy “deselect table1, select table2”, but it seems the cause for the error is only the deselectCell(), because I get the error even without selecting another cell.
Now I found a very humpy workaround, here is the fiddle. Instead of table1.deselectCell() I say table1.updateSettings({disableVisualSelection: true}). After a new selection in table1 (afterSelection) I have to set this to ‘false’.
The focus in table2 I get with beginEditing()/finishEditing(). Not nice, but the best solution for the moment.