PDA

View Full Version : Is there a "scrolled to last row in grid" event?



boater21
28 Nov 2011, 9:00 AM
Is there an event that will fire off when the bottom of a grid is reached? I'm loading a grid with about 300 rows, and when the user scrolls to the bottom of the grid, I'd like to fire an event so I can prompt the user if they want me to load the rest of the data. I see that there is a bodyscroll event which returns a number. Could I compare the number returned with the number of rows in the store, then do my processing once the numbers are equal? Though I don't know if the bodyscroll event returns rows, or pixles, or what.

Thanks!

tobiu
28 Nov 2011, 9:32 AM
seems like you want to implement buffering by yourself.
take a look at:

http://www.ext-livegrid.com/

boater21
28 Nov 2011, 2:42 PM
Tobias,
I think that will do the trick. Thanks!