52,797
社区成员
发帖
与我相关
我的任务
分享
var gPVehInfo = new Ext.grid.GridPanel({
id: 'gPVehInfo',
ds:store,
cm : roleCm,
frame:true, //圆角边框
viewConfig:
{
forceFit:true
},
bbar:[{
text:"车辆告警信息",
handler:function(){
}
},{
text:"车辆实时信息",
handler:function(){
}
},{
text:"选择车辆信息",
handler:function(){
}
}]
});
var pnMain = new Ext.Panel({
name : 'pnMain',
region:'center',
bodyStyle:'background-color:#D6E4EF',
labelWidth:60,
border : false,
width : '100%',
defaults: {labelWidth:60,bodyStyle:'background-color:#D6E4EF'},
autoHeight:false,
layout : 'form',
items: [toolbar,iframePanel,gPVehInfo]
});
var vpLayout = new Ext.Viewport({
layout: 'border',
items: [tree, pnMain]
});