我有 10000 条记录的网格。我试图通过读取填充网格的存储来检索网格数据。但我无法从商店中读取所有数据。相反,仅检索了 5000 条记录。ExtJs4 有限制吗?请在下面的代码片段中找到。
在此处输入代码
onDownloadXLS : function(btn, e) {
var store = this.getGridStoreStore();
alert(store.getCount());// This is returning only 5000 rows not 10000.
var records = store.data.items.map(function(r){ return r.data });
}
Ext.define('MyApp.store.GridStore', {
extend: 'Ext.data.Store',
model: 'MyApp.model.GridModel',
proxy: {
type: 'ajax',
url: "data/test.json",
reader: {
type: 'json',
root: 'performance'
}
},
sorters: {property: 'uploadedDate', direction: 'DESC'},
groupField: 'uploadedDate',
autoLoad: true
});