PDA

View Full Version : How to scroll to bottom of list after 0.96?



jacstofberg
15 Nov 2010, 2:23 PM
Hi all,

How do I scroll to bottom of list now that list.scroller.bounds.y is not defined any longer?

I used to accomplish this with:


this.list.scroller.scrollTo({x: 0,y: Math.abs(this.list.scroller.bounds.y)}, true);

I just can't find a substitute.

Thanks in advance,
Jac

jacstofberg
17 Nov 2010, 8:43 AM
Anyone got any ideas? I'm sure some of you have big lists on which you want to scroll to the bottom at the push of a button:)

aecontrerasl
30 Nov 2010, 8:05 AM
Im having the same issue.

Any workaround?

ksz
2 Dec 2010, 1:52 AM
This one works for me:


list.scroller.updateBoundary();
list.scroller.scrollTo({x: 0, y:list.scroller.size.height}, true);

jacstofberg
17 Jan 2011, 7:42 PM
Thanks, your code works perfect. Appreciate the reply.

Cheers,
Jac