我已经下载了Extjs3支持的SuperBoxSelect,但是我想在Extjs 4中使用它.
我已经确定class,并extend根据需要对其进行ExtJS的中4,并删除Ex.ns()和Ext.reg().
但是当我运行代码时,我得到了错误.
Uncaught TypeError: Cannot read property 'superclass' of undefined
Run Code Online (Sandbox Code Playgroud)
那么我需要做什么才能在Extjs 4中使用它?
码:
Ext.define('Ext.ux.form', {
extend: 'Ext.ux.form.SuperBoxSelect',
alias: 'widget.superboxselect',
.....
.....
});
Run Code Online (Sandbox Code Playgroud)