Search code examples
javascripthtmlhandsontable

How in handsontable scroll to row?


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

Thanks for your help.


Solution

  • $('#id').handsontable('selectCell', row1, col1, row2, col2, scrollToSelection = true)
    $('#id').handsontable('deselectCell');