Threaded View

  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.

Thread Participants: 1

Tags for this Thread