scrollbar - auto scroll to the bottom of container in sencha touch 2 -
i have view contains 2 parts: + part 1: add button + part 2: container list has scroll attribute auto.
when user clicks on button add, system add container container list. user can add as want.
but container list has limit height want scroll new container added container list when user clicks add button. me. thanks
i tried use:
var scroller = pan.getscrollable().getscroller(); scroller.scrolltoend(true);
but it's not working. tried way:
var scroller = pan.getscrollable().getscroller(); scroller.scrollto(x,y,true);// y = 100000000000
it's work :)
Comments
Post a Comment