(Help me)Ext分页不成功 数据全部显示出来了
vargrid=newExt.grid.GridPanel({el:'grid',store:store,cm:cm,loadMask:true,width:700,he...
var grid = new Ext.grid.GridPanel({
el: 'grid',
store: store,
cm: cm,
loadMask:true,
width:700,
height:300,
bbar:new Ext.PagingToolbar({
pageSize:10,
store: store,
displayInfo:true,
displayMsg:'显示第{0}行到第{1}行,一共有{2}条',
emptyMsg:'么有记录'
})
});
grid.render();
store.load({
params: {start: 0,limit: 10} 展开
el: 'grid',
store: store,
cm: cm,
loadMask:true,
width:700,
height:300,
bbar:new Ext.PagingToolbar({
pageSize:10,
store: store,
displayInfo:true,
displayMsg:'显示第{0}行到第{1}行,一共有{2}条',
emptyMsg:'么有记录'
})
});
grid.render();
store.load({
params: {start: 0,limit: 10} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询