through - kendo grid tutorial mvc




Scroll to selection in an ExtJS Grid (3)

This also seems to work:

    grid.getView().getRow(rowIdx).scrollIntoView();

Hey, i need to be able to scroll my ExtJS grid to the current selection but have no idea how to do this. I came across a reference in a forum to an ensureVisible method but can find no information. Can anyone make any suggestions? Thanks


This also seems to work:

grid.getView().focusRow(rowIdx);

How to scroll to a specified record in a grid

Try

grid.getView().scrollRowIntoView(rowIndex)