TabPanel配置代码如下:
var centerTabelPanelFifthRpt = new Ext.TabPanel({
region : 'center',
width : '98%',
height : '90%',
title : '人员班别维护',
autoScroll : true,
activeTab : 1,
items : [
centerTabelPanelFifthRpt001,
centerTabelPanelFifthRpt002
]
});
其中一个FormPanel配置如下:
var centerTabelPanelFifthRpt001 = new Ext.FormPanel({
region : 'center',
width : '98%',
height : '90%',
title : '员工班别设定',
activeTab : 0,
layout : 'column',
tbar : [ grid_PaiBan ],
items : [ grid_PaiBan ]
}
});
实际2个FormPanel效果图:
,求怎样才能使2者相同