PDA

View Full Version : EditorGripanel Error : Ext.reg is not a function



Madiyana
1 Feb 2013, 6:37 AM
Hi,
I have an error that i can't resolve .. If someone can help me please .





Ext.define('Ext.ux.grid.EditorGridPanel' ,{
extend : 'Ext.grid.GridPanel',
alias : 'grid.editorgrid',
}


My error :

TypeError: Ext.reg is not a function



Ext.reg('editorgrid', Ext.ux.grid.EditorGridPanel);






Thank

mitchellsimoens
4 Feb 2013, 12:48 PM
Ext.reg is not needed for Ext JS 4. The alias (or xtype) property within Ext.define does this for you.