Issue:

The store.each function doesn't work with buffered stores.

Code:
    each: function(fn, scope) {
        var data = this.data.items,
            dLen = data.length,
            record, d;
        for (d = 0; d < dLen; d++) {
            record = data[d];
            if (fn.call(scope || record, record, d, dLen) === false) {
                break;
            }
        }
    }
the data object on the store has no items array.
=> this.data.items is undefined.

I expect to be able to loop over the displayed records.

Used version:

I'm using Ext 4.2.0.663

How to test:
  1. http://docs.sencha.com/ext-js/4-2/ex...te-scroll.html use this example or your own infinit scrolling / buffered store example.
  2. run:
Code:
Ext.getCmp('gridpanel-1009').getStore().each(function(rec){
    console.log('rec', rec.get('name'));
});
=> returns TypeError: Cannot read property 'length' of undefined (because items is undefined, data becomes undefined and undefined has no property length)

Any suggestion on how to loop over the records would be much appreciated!

Cheers!