PDA

View Full Version : Detect when scrolling is near the end of a Dataview.



29er
20 Sep 2012, 8:11 AM
Hi, I am trying to emulate an infinite scroller in my dataview and was hoping there was a way to detect when scrolling was at the end of a container/dataview.
any help would be much appreciated.
Thanks!

scottmartin
22 Sep 2012, 3:44 PM
Have a look at:

grid.getView().el.dom.scrollTop;
grid.getView().el.dom.scrollHeight;

Scott.

29er
22 Sep 2012, 6:47 PM
gr8 thanks, i'll check those events out.