Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
gpatton
Posts: 193
Registered: ‎12-29-2010
My Device: Bold 9900

Go to top or bottom of list

Hi,

 

I have a list. Let's say the user is in the middle of the app, I want there to be an action item so that the user can quickly go to the top of the list or the bottom of the list.

 

Any idea on how I can do this (in QML)?

 

I don't even know what to search for, i.e. what its called?

 

Thanks

G

Developer
strobejb
Posts: 282
Registered: ‎10-15-2012
My Device: bb10 developer

Re: Go to top or bottom of list

There will be a keyboard short on the Q10 to do this automatically

 

The cascades documentation for ListView is a good place to start:

 

https://developer.blackberry.com/cascades/reference/bb__cascades__listview.html

 

look at the scrollToPosition function