[CLOSED] Infinite Scrolling load issue

  1. #1

    [CLOSED] Infinite Scrolling load issue

    when the Infite Scrolling (http://examples3.ext.net/#/GridPanel...ite_Scrolling/) example is opened, it performs the load (separately) of the first three pages, when in my opinion just the first page should be loaded.

    Now, scroll to the middle. It's possible to see that several loads were performed instead of loading just the "requested" page.

    The example Infinite Scrolling with remote filtering (http://examples3.ext.net/#/GridPanel...Remote_Filter/) is worse than Infinite Scrolling, performing dozens of loads at start up and when it's scrolled.

    Is there any way to overcome the issues presented above?
    Last edited by Daniil; Dec 10, 2014 at 10:24 AM. Reason: [CLOSED]
  2. #2
    Hi Raphael,

    There are buffer zones. A Store preloads a few pages to achieve smooth scrolling. Yes, I agree it might be controversial how much pages it should preload. There also might be defects for sure. But it is very similar in ExtJS 4. I don't think we can change something here. We reported quite a bunch of ExtJS 4 issues regarding infinite/buffered scrolling. I think Sencha did as much as they could. Hopefully, the situation will be better with ExtJS 5.1.0. Though, I cannot promise anything, unfortunately.

    But. Many things depend on settings. For example, there are these settings in the example that concerns you mostly.
    According to the first setting, it should have 1000 of records in the leading buffer. According to the second setting one page is 50 records. It can load only one page per request. So, it is the reason of many request. You can play with the settings.

    There is a special example to play with:

    Also it might be worth to read the ExtJS API docs for buffered rendering.
    Last edited by Daniil; Dec 10, 2014 at 9:21 AM.
  3. #3
    Thank you Daniil. I'll take a look on them and keep you posted if i have any question or something to share.

    Please mark this thread as closed.

Similar Threads

  1. [CLOSED] Infinite Scrolling Issue
    By shaileshsakaria in forum 2.x Premium Help
    Replies: 14
    Last Post: Jan 15, 2014, 5:04 AM
  2. [CLOSED] Infinite Scrolling Issue
    By shaileshsakaria in forum 2.x Premium Help
    Replies: 1
    Last Post: Dec 18, 2013, 6:29 PM
  3. Replies: 6
    Last Post: Oct 07, 2013, 2:41 PM
  4. Example of infinite scrolling without using proxy
    By yash.kapoor in forum 2.x Help
    Replies: 2
    Last Post: Jan 02, 2013, 7:12 AM
  5. [CLOSED] Infinite Scrolling
    By rnachman in forum 1.x Premium Help
    Replies: 1
    Last Post: Apr 09, 2011, 6:15 PM

Posting Permissions