-
17 Jun 2012 2:00 PM #1
I wanna make an AutoScrolling List, what does it mean? Read the post please!
I wanna make an AutoScrolling List, what does it mean? Read the post please!
Hi there,
What I mean with this is;
I have a list of products, but I want this list automatically lower and raise, something like a marquee.
I will not ask if possible because anything is possible, better ask who has or knows how I could do this?
Regards
-
19 Jun 2012 5:10 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,085
- Vote Rating
- 453
Not sure why you put that.Read the post please!
You can scroll programmatically via:
var scroller = list.getScrollable().getScroller();
true is for this to be animated. You can also pass in a config objectCode:scroller.scrollBy(0, 200, true); //or scroller.scrollTo(0, 200, true); //or scroller.scrollToEnd(true);
Code:{ duration : 10000 }Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
4 Jul 2012 1:16 PM #3
Thanks, it worked, but how could I do to make the scroll down and go up automatically, I have a catalog of films, in the dataview is shown the cover of the films, and what I want is that the scroll down and go up automatically when it gets to Finally, as might achieve this behavior?
Regards
-
16 Jul 2012 12:29 PM #4


Reply With Quote