See if this helps:



Ext.Loader.setConfig({enabled: true});
Ext.Loader.setPath('Ext.ux', '../../extjs4/examples/ux');

Ext.require([
'Ext.grid.*',
'Ext.data.*',