1. #1
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    Cave
    Posts
    178
    Answers
    2
    Vote Rating
    2
    29er is on a distinguished road

      0  

    Default Answered: Detect when scrolling is near the end of a Dataview.

    Answered: Detect when scrolling is near the end of a Dataview.


    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!

  2. Have a look at:

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

    Scott.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Have a look at:

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

    Scott.

  4. #3
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    Cave
    Posts
    178
    Answers
    2
    Vote Rating
    2
    29er is on a distinguished road

      0  

    Default


    gr8 thanks, i'll check those events out.

Thread Participants: 1

Tags for this Thread