4

Set the range of visible lines or scroll to the desired table row during initialization.

Thanks for your help.

Stepanov Andrey
  • 129
  • 2
  • 9

1 Answers1

4
$('#id').handsontable('selectCell', row1, col1, row2, col2, scrollToSelection = true)
$('#id').handsontable('deselectCell');
Lola
  • 2,591
  • 6
  • 24
  • 49
  • I wanted to do this same thing, but the problem I have with a similar approach because it blurs the currently focused element. In my case I save document.activeElement before selectCell and then call focus on that saved element after deselectCell. – Jason Winnebeck Sep 14 '15 at 21:28