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.
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.
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);
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.
Thanks for the reply.
I have try out your given solution and it works like a charm.