Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    554
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default [4.0.6] Ext.grid.PagingScroller do not show all records in grid in buffered case

    [4.0.6] Ext.grid.PagingScroller do not show all records in grid in buffered case


    REQUIRED INFORMATION Ext version tested:
    • Ext 4.0.6
    Browser versions tested against:
    • FF6
    Description:
    • Under certain configuration, Ext.grid.PagingScroller fails to show all records in the dataset
    Steps to reproduce the problem:
    • open the buffered grid example: /examples/grid/buffer-grid.js
    • change the page size to 23:
    Code:
        var store = Ext.create('Ext.data.Store', {
            id: 'store',
            pageSize: 23,
            // allow the grid to interact with the paging scroller by buffering
            buffered: true,
            // never purge any data, we prefetch all up front
            purgePageCount: 0,
            model: 'Employee',
            proxy: {
                type: 'memory'
            }
        });
    • change the data count to 5002:
    Code:
        var data = createFakeData(5002),
            ln = data.length,
            records = [],
            i = 0;
        for (; i < ln; i++) {
            records.push(Ext.create('Employee', data[i]));
        }
    • open the example in browser
    • scroll to the bottom-most position

    The result that was expected:
    • the last record is expected to have 5002 index
    The result that occurs instead:
    • the last record shown is 4998

  2. #2
    Ext JS Premium Member SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    478
    Vote Rating
    16
    SebTardif will become famous soon enough

      0  

    Default


    Could we have Sencha assign a bug to this one?

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2010
    Posts
    31
    Vote Rating
    0
    marrrck is on a distinguished road

      0  

    Default


    I'm having the same issue. I know they re-wrote all the scrollers in 4.1. Maybe they fixed it?

  4. #4
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    61
    Vote Rating
    4
    ap is on a distinguished road

      0  

    Default


    4.1.0 pr does seem to have fixed most of the bugs with pagingscroller, bufferedstore, prefetch, sorting, etc. As it also breaks a few things, I have no intend to fully test the build until it's in beta. But it looks promising.

Thread Participants: 3