日期:2014-05-16  浏览次数:20432 次

Extjs扩展骨架结构

Ext.ns("N21.DataComp");

N21.DataComp.MP_PreHeadSetting = Ext.extend(Ext.Panel,{

	initComponent:function(){
	
		Ext.apply(this,{
		
		});
		N21.DataComp.MP_PreHeadSetting.superclass.initComponent.apply(this,arguments);
	}
	,initEvents:function(){
		N21.DataComp.MP_PreHeadSetting.superclass.initEvents.call(this);
	}
	,onRender:function(){
		N21.DataComp.MP_PreHeadSetting.superclass.onRender.apply(this,arguments);
	}
         ....//其它方法

});

Ext.reg("mpphs",N21.DataComp.MP_PreHeadSetting);
?