Method “ensurerowvisible” behaves unexpectedly and this can be demonstrated on jsFiddle.
Go to: http://jsfiddle.net/jqwidgets/hBM5L/
Change line 72 so that the method tries to view row 499.
Add the following items after line 32:
editable:true,
pageable:true,
pagermode:”simple”,
pagesize:25,
pagesizeoptions:[25],
pagerbuttonscount:-1,
autorowheight:true,
Now run the JS. Navigate to the very last row by clicking the button.
Try to edit one of the cells in the very last row.
The table jumps up to a random row and the edited row is off-screen. Good luck trying to edit the cell.
Ensuring the row is on-screen for editing seems to work if the entire page is on-screen. But if the page size is larger than the window, and you attempt to edit a cell which is normally deeper on the page, its visibility is not ensured. This will always occur when autorowheight==true and the cell values have multi-line text.
This seems to be a bug.