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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -