Hi.

I ma using Extjs4.1 full version.I am getting all the data from server at once and loading the data to grid when scrolling.This data is there in cache.In Extjs 4.1 it is there in PageMap.
code:

var store = Ext.create('Ext.data.Store', {
model: 'Student',
autoLoad: true,
pageSize: 1000,
buffered: true,
proxy: {
type: 'ajax',

But when I use bufferred true, the sorting doesnt work properly.It will try to sort only visible rows(54 records).I want to write sorting functionality for whole 1000 records.

I tried to debug the ext-all.js,inside the sort function:
sort: function() {
var me = this,
prefetchData = me.pageMap;


store.length-------->54

prefetchData.getPage(1).length------>10000

I want to change the sorting functionality where I need to apply sort for prefetchData.getPage(1) records.

Please help.

Thx,
Chetana