Ext.loader not enabled Missing required?

后端 未结 4 1046
半阙折子戏
半阙折子戏 2020-12-31 02:29

I have some problems with Extjs4 librairie. I want to use treeEditor component.

Firebug error :

Error : uncaught exception: Ext.Loader is

4条回答
  •  长情又很酷
    2020-12-31 02:54

    The error is due to not enabling the Loader. You can enable the Ext.Loader by:

    Ext.Loader.setConfig({enabled:true});
    

    You need to call this at the start of onReady method.

提交回复
热议问题