1
我試圖設置在我livesearchgridpanel.i'm獲取數據在HTTPPROXY一個pagingtoolbar pagingtoolbar,所以這裏是我的商店:問題與一個livesearchgridpanel
tempStore = new Ext.data.Store
({
groupField : default_groupby_s,
model : 'reportWorkspace',
allowFunctions : true,
autoSync : false,
pageSize : 20,
autoLoad : true,
remoteSort : false,
proxy : new Ext.data.HttpProxy
({
url : url_s,
actionMethods :
{
read : 'POST'
},
reader :
{
type : 'json',
root : 'workspace_report',
successProperty : 'success'
}
})
});
return tempStore ;
}
,這裏是我的pagingtoolbar,這將包括在我的LivesearchgridPanel:
{
xtype: 'pagingtoolbar',
store: tempStore ,
dock: 'bottom',
pageSize:20,
displayInfo: true
}
的問題,那就是在pagingtoolbar正確顯示頁面,但在我的網格的情況下,它會顯示在同一時間的所有數據(在每一頁)。是否有可能做到這一點,而不需要在autoload參數中設置任何起點或限制? 我只是想下載我的所有數據,然後正確顯示它的頁面
任何建議請?