Would it not be better to do a serverside query to get the next value? Then if it is in the store, you can jump to it; if it isn't, you know what data you need to buffer so you can jump straight to it. Otherwise if the next row is near the end of the grid (a long way away) you will put the grid into a crazy loop of fetching each chunk of data until it finds it and it could take forever.
I have another question, maybe someone needed the same functionality that I am required to implement now.
So, I have some keyboard shortcuts - control+alt+down arrow. When I am on a particular row, after pressing this shortcut, I need to go to the next row that has a particular property set to true.
So now, if I am in the situation of moving through pages(ie. buffering needed), how can I somehow catch the buffering event, and continue searching into the new values that I have in the store(given that the values from the store are changing when buffering occurs)? And this could perpetuate, until the end of the grid..
Can I somehow, search through the current values of the store, and, if I won't find my next row, I continue searching into the next page, only after it loaded, of course.