1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    19
    Vote Rating
    1
    a3366873 is on a distinguished road

      0  

    Default Buffered List - how to use it

    Buffered List - how to use it


    Hi,

    Can someone provide an example using Ext.plugin.BufferedList? I need some buffering for list since I need to display up to 3500 items in it and run it on mobile devices and I don't know how to use it (I had no problems using other list plugins like pull refresh or list paging, but this one is different).

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,004
    Vote Rating
    847
    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

      0  

    Default


    Ext.dataview.List supports infinite scrolling natively since Touch 2.1
    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 User
    Join Date
    Apr 2013
    Posts
    7
    Vote Rating
    0
    lovelyhibabe is on a distinguished road

      0  

    Default


    I want to know how to use the plugin "Ext.plugin.BufferedList", too.
    can you provide an demo? Thank you

  4. #4
    Sencha User armode's Avatar
    Join Date
    Nov 2011
    Location
    Germany / Darmstadt
    Posts
    64
    Vote Rating
    4
    armode is on a distinguished road

      0  

    Default


    Have you watched Jackys FastBook session?https://vimeo.com/album/2541003/video/75397090

  5. #5
    Ext JS Premium Member Spenna's Avatar
    Join Date
    Apr 2008
    Posts
    65
    Vote Rating
    0
    Spenna is on a distinguished road

      0  

    Default


    Instead of using Ext.plugin.BufferedList, try setting parameter 'infinite' to 'true' on the regular Ext.dataview.List config. It certainly made a huge difference in performance with a preloaded store with around 1000 records, as it does not render each item by default, but only items needed for the view.

    See http://docs.sencha.com/touch/2.3.1/#...t-cfg-infinite