Hybrid View

  1. #1
    Ext User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
    Josa is on a distinguished road

      0  

    Default Endless Ext.List with Ext.data.JsonStore

    Endless Ext.List with Ext.data.JsonStore


    I am new to Sencha Touch development, so I might miss something really basic here.

    I have Ext.List with a Ext.data.JsonStore. And I am trying to load new Items / Records when the end of the list is reached. I can't find any Event for that?

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    I think you're going to have to listen to the scroll events from the scroller element.

  3. #3
    Ext User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
    Josa is on a distinguished road

      0  

    Default


    Thank you for your reply!
    Where would I find the scroller element? I cannot find anything about that in the API Documentation.

  4. #4
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    31
    Vote Rating
    0
    herkulano is on a distinguished road

      0  

  5. #5
    Ext User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
    Josa is on a distinguished road

      0  

    Default


    Thank you!

    The Solution seems to be:
    Code:
    list.scroller.addListener('scrollend', function(scroller, offset){
        if((list.el.dom.scrollHeight-offset.y)== list.height) {
            console.log('listend');
        }
    });

  6. #6
    Sencha User
    Join Date
    Dec 2012
    Posts
    7
    Vote Rating
    0
    sidds.moona is on a distinguished road

      0  

    Default


    Hello,

    I am new to Extjs. Even I am trying to implement an endless scroller on my grid with json data.

    Kindly guide where and how I should be using the code given by you above.

    Many thanks for the help.

Similar Threads

  1. putting Ext.List in Ext.NestedList - List data does not load
    By mmww in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 14 Oct 2010, 9:39 PM
  2. putting Ext.List in Ext.NestedList - List data does not load
    By mmww in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 14 Oct 2010, 10:54 AM
  3. Difference b/w Ext.data.JsonStore and Ext.data.Store
    By karthik085 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 4 Jun 2010, 10:07 AM
  4. Differences between Ext.data.Store and Ext.data.JsonStore
    By kirandasari in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 6 May 2009, 11:43 PM
  5. Ext.data.store works / Ext.data.JsonStore doesn't work
    By phxx in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 Feb 2008, 10:14 AM

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."