1. #1
    Sencha Premium Member
    Join Date
    Nov 2010
    Posts
    14
    Answers
    1
    Vote Rating
    0
    shodan_uk is on a distinguished road

      0  

    Default Unanswered: Lazy loading dataview with buffering / caching

    Unanswered: Lazy loading dataview with buffering / caching


    Hey guys,

    I'm looking to build a dataview that displays 10 items at a time from a "buffer" of 50 that lazy loads the next / previous 10 items when the user scrolls to the bottom or top of the list. I'm trying to keep down the number of http calls (hence the buffering) but I also want to avoid having too many list items on screen (for performance reasons) or too many data items in memory (there could be 1000s).

    *edit* I'm aware of the ListPaging plugin, however it doesn't quite fit my requirements. I'm guessing I may need to extend it.

    Any advice on how to achieve the above would be gratefully received

    Cheers,
    Terry

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,684
    Answers
    3355
    Vote Rating
    749
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      1  

    Default


    This currently is not support out of the box but in 2.1.0 we are adding support for infinite list that will do this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2010
    Posts
    14
    Answers
    1
    Vote Rating
    0
    shodan_uk is on a distinguished road

      0  

    Default


    Thanks for the info.

    Any thoughts or suggestions on how do it with 2.0.2?

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Eindhoven, Netherlands
    Posts
    32
    Vote Rating
    2
    jeroenwalter is on a distinguished road

      0  

    Default Buffered list

    Buffered list


    Awesome news that Sencha is making an infinite list

    In the meantime you can have a look at the ext.ux.bufferedlist that was ported to Sencha Touch 2.0.
    Take a look at this thread:
    http://www.sencha.com/forum/showthre...eredList/page9

    And the source code can be found on
    https://github.com/robertklep/buffer...sencha-touch-2

    I'm currently using it to display lists of over 10000 items and it works fluently.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar