1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    VE
    Posts
    9
    Vote Rating
    0
    lg_sp is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,656
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Read the post please!
    Not sure why you put that.

    You can scroll programmatically via:

    var scroller = list.getScrollable().getScroller();

    Code:
    scroller.scrollBy(0, 200, true);
    //or
    scroller.scrollTo(0, 200, true);
    //or
    scroller.scrollToEnd(true);
    true is for this to be animated. You can also pass in a config object

    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.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    VE
    Posts
    9
    Vote Rating
    0
    lg_sp is on a distinguished road

      0  

    Default


    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

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    VE
    Posts
    9
    Vote Rating
    0
    lg_sp is on a distinguished road

      0  

    Default


    Any ideas?