I am using hot.selectCell, to highlight search terms, but the selected cell is always the bottom row - is there a way to make this the top row?
hot.selectCell - top rather than bottom?
Hi,
selectCell
might not be the best way to highlight search terms. But you can set scrollToCell
to false
[1] and disable the scroll. Then use scrollViewportTo
[2] method which gives you better control over the final result.
[1] https://handsontable.com/docs/7.1.1/Core.html#selectCell
[2] https://handsontable.com/docs/7.1.1/Core.html#scrollViewportTo
Best,
Wojciech