1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    Pratik Sharma is on a distinguished road

      0  

    Default Answered: How to scroll to bottom of list after populating list items from store

    Answered: How to scroll to bottom of list after populating list items from store


    Hi,

    How to scroll to bottom of list after populating list items from store?

    List.scroller method is not working in sencha 2 as it is supporting in sencha 1.

  2. Use something like this:

    Code:
    var scroller = Ext.getCmp('ext-list-1').getScrollable().getScroller();
    scroller.scrollToAnimated(0, scroller.getSize().y - scroller.getContainerSize().y);
    There will be a convince method in the next release.

  3. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Use something like this:

    Code:
    var scroller = Ext.getCmp('ext-list-1').getScrollable().getScroller();
    scroller.scrollToAnimated(0, scroller.getSize().y - scroller.getContainerSize().y);
    There will be a convince method in the next release.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    Pratik Sharma is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks for the reply.

    I have try out your given solution and it works like a charm.

Thread Participants: 1

Tags for this Thread

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..." hd porno faketaxi