listeners : { ???????????????????tabchange : function(tp, p) { ???????????????????????var allmapDIV = document.getElementById("allmap"); ???????????????????????if (p.getId() == ‘addPlanPanel‘) { ???????????????????????????allmapDIV.style.display = "none"; ???????????????????????} ???????????????????????if (p.getId() == ‘addTabMap‘) { ???????????????????????????allmapDIV.style.display = "block"; ???????????????????????} ???????????????????} ???????????????}, ???????????????items : [{ ???????????????????????????title : ‘线路显示‘, ???????????????????????????border : false, ???????????????????????????id : ‘addTabMap‘, ???????????????????????????autoScroll : true, ???????????????????????????items : [mapPanel = new Ext.FormPanel({ ???????????????????????????????????????bodyPadding : 5, ???????????????????????????????????????frame : true, ???????????????????????????????????????border : false, ???????????????????????????????????????fieldDefaults : { ???????????????????????????????????????????labelAlign : ‘right‘, ???????????????????????????????????????????labelWidth : 100 ???????????????????????????????????????}, ???????????????????????????????????????items : [{}] ???????????????????????????????????})] ???????????????????????}]
Extjs TabPanel页签转换事件
原文地址:http://www.cnblogs.com/BobXie85/p/7451016.html