Extjs 4中的SuperBoxSelect

Kun*_*nal 2 extjs4

我已经下载了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)

ati*_*n25 8

使用此Ext.ux.form.field.BoxSelect-Intuitive-Multi-Select-ComboBox.

ExtJS3的插件不能在ExtJS4中使用.

在此输入图像描述