//分页的下边
var page_toolbar = new Ext.PagingToolbar({
store:store,
displayInfo:true,
displayMsg:'显示第 {0} 条到 {1} 条记录,一共 {2} 条',
emptyMsg:'没有记录',
onFirstLayout : function(){//隐藏刷新按钮
if(this.dsLoaded){
this.onLoad.apply(this, this.dsLoaded);
}
if(this.rendered && this.refresh){
this.refresh.hide();
}
},
items:[
sumButton
]
});