Results 1 to 5 of 5

Thread: Buffered List - how to use it

  1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    19
    Vote Rating
    1
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    Ext.dataview.List supports infinite scrolling natively since Touch 2.1
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    32
    Vote Rating
    0
      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
      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
    66
    Vote Rating
    0
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •