-
5 Dec 2011 3:29 AM #1
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.
-
Best Answer Posted by rdougan
Use something like this:
There will be a convince method in the next release.Code:var scroller = Ext.getCmp('ext-list-1').getScrollable().getScroller(); scroller.scrollToAnimated(0, scroller.getSize().y - scroller.getContainerSize().y);
-
5 Dec 2011 9:58 AM #2
Use something like this:
There will be a convince method in the next release.Code:var scroller = Ext.getCmp('ext-list-1').getScrollable().getScroller(); scroller.scrollToAnimated(0, scroller.getSize().y - scroller.getContainerSize().y);Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
7 Dec 2011 12:03 AM #3
Thanks
Thanks
Thanks for the reply.
I have try out your given solution and it works like a charm.


Reply With Quote