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);
 

你可能感兴趣的:(ExtJs)