TabPanel
tabPanel = Ext.create("Ext.TabPanel",{
renderTo: 'countDiv',
id: 'count_tab',
width: "100%",
height: "100%",
enableTabScroll:true,
activeTab: 0,
items: [
{
title:"試驗總表(在職)",
height: "100%",
html: '<iframe style="overflow:auto;width:100%; height:100%;" src="'
+ basePath + 'app/emp_manage/emp_count/emp_count_filter.jsp?type=trial1' +'"frameborder="0"></iframe>'
},
],
listener: {
'tabchange': function() {
},
'beforeshow': function() {
}
},
}
tabPanel.on('activate', function(tab) {
});
Ext.getCmp('count_tab').activeTab.body.update(html);