Extjs Toolbar的 store属性 可以动态设置么? 5
bbar:[newExt.PagingToolbar({id:'re',width:400,pageSize:20,store:configFailStore,defer...
bbar:[
new Ext.PagingToolbar({
id:'re',
width: 400,
pageSize:20,
store:configFailStore,
deferHeight : true,
displayInfo:true
}),
{xtype:'tbfill'},
{text: '来源去向',id:'ff', handler: function(){if(sm.getCount()<1||sm.getCount()>1){Ext.MessageBox.alert("提示","请选择一条记录!");return;}showsource(sm.getSelected().get('TEXT20'))}, iconCls: 'add' },
{text: '历史操作',id:'hh', handler: function(){if(sm.getCount()<1||sm.getCount()>1){Ext.MessageBox.alert("提示","请选择一条记录!");return;}showh(sm.getSelected().get('TEXT20'))}, iconCls: 'add' }
],
height:425,
width:$('editpanel'+a).getWidth(),
autoExpandColumn: 'date',
deferRowRender: false,
renderTo: 'editpanel'+a
});
我想动态设置PagingToolbar中的store 展开
new Ext.PagingToolbar({
id:'re',
width: 400,
pageSize:20,
store:configFailStore,
deferHeight : true,
displayInfo:true
}),
{xtype:'tbfill'},
{text: '来源去向',id:'ff', handler: function(){if(sm.getCount()<1||sm.getCount()>1){Ext.MessageBox.alert("提示","请选择一条记录!");return;}showsource(sm.getSelected().get('TEXT20'))}, iconCls: 'add' },
{text: '历史操作',id:'hh', handler: function(){if(sm.getCount()<1||sm.getCount()>1){Ext.MessageBox.alert("提示","请选择一条记录!");return;}showh(sm.getSelected().get('TEXT20'))}, iconCls: 'add' }
],
height:425,
width:$('editpanel'+a).getWidth(),
autoExpandColumn: 'date',
deferRowRender: false,
renderTo: 'editpanel'+a
});
我想动态设置PagingToolbar中的store 展开
1个回答
2011-09-16
展开全部
. ajax
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询