Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    38
    Vote Rating
    0
    user ext is on a distinguished road

      0  

    Default [4.2.0.489] buffered store, loading not completed

    [4.2.0.489] buffered store, loading not completed


    If in 'Infifnite Grid' example (see Ext JS 4.2.0 - Sencha Docs ) set for the store
    pageSize: 10
    the loading is not completed.

    To avoid this:

    Code:
     loadToPrefetch: function (options)
     {
      ...
     
      
         if ((dataSetSize = me.getTotalCount())) {
     
         // Wait for the requested range to become available in the page map
        me.data.on('pageAdded', waitForRequestedRange);
     
         // As soon as we have the size of the dataset, ensure we are not waiting for more than can ever arrive,
        // And make sure we never ask for pages beyond the end of the dataset.
        loadEndIdx = Math.min(loadEndIdx, dataSetSize - 1);
        endPage = me.getPageFromRecordIndex(loadEndIdx);
     
          if (me.data.maxSize < endPage - startPage + 1) { me.data.maxSize = endPage - startPage + 1; }
      
        for (i = startPage + 1; i <= endPage; ++i) {
              me.prefetchPage(i, prefetchOptions);
        }
     
       ...
     
       }

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,905
    Vote Rating
    626
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    In this case you'll need to alter the purgePageCount.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1