I have a Kendo Grid that is setup with Virtual Paging and Navigatable (for keyboard navigation). Depending on the size of the content, sometimes I will not be able to see all the data in the current view and when I scroll using the mouse, there's no issue, but when I try to use the keyboard to navigate to the bottom rows, the rows do not scroll into view.
It's fairly straight-forward to scroll the element into view, assuming you hook into an event to trigger the scroll. I can't seem to figure out how to hook into the focus event on the grid to automatically make it happen.
How can I hook into the focus event to scroll the currently focused cell into view. Note that the currently focused cell is different from the selected cell/row.
Scroll code:
$grd.animate({
scrollTop: $ele.offset().top - $grd.offset().top + $grd.scrollTop()
});
changeevent: I believe it will catch row/cell changes with both click or keyboard navigation. The following is untested code but it may work:this.element.find(".k-grid-content").animate({ scrollTop: this.select().position().top }, 500);- chiapavirtualand scrolling works as expected: fiddle here - chiapa