PDA

View Full Version : Problem with scroller list



dbottillo
16 Nov 2010, 9:16 AM
Hi,

i have a strange problem with the scroller of a list

if i put a list inside a panel and then i try to do something like:


list.scroller.scrollTo({x:0, y:400});

list remain at the top and doesn't scroll
but

if i scroll the list manually then that code works and list scroll down

it seems that in the beginning the list can't scroll, after manual scrolling can

Daniele

dbottillo
17 Nov 2010, 3:36 PM
anyone?

blessan
17 Nov 2010, 10:27 PM
is the panels scroll set to false. Try setting the list scroll false. and scroll the panel. Im using the same code and it works for me. But im still using 0.96.

Veritus
17 Nov 2010, 10:52 PM
Hi i'am also interested in the solution for that problem. In my case i have a list and a button that when pressed selects the next item of the list. the problem is now that if the list larger than the screen size, the list focus doesn't scrolls to the selected item.
is there a method that automatically updates the "scroller" so that the selected item is allways visible?

dbottillo
18 Nov 2010, 1:10 AM
is the panels scroll set to false. Try setting the list scroll false. and scroll the panel. Im using the same code and it works for me. But im still using 0.96.

the problem appear only with sencha >0.99