...
.......
initComponent:function() {
Ext.apply(this, {
items : new Ext.util.MixedCollection(false),
usedRecords : new Ext.util.MixedCollection(false),
addedRecords : [],
remoteLookup : [],
hideTrigger : true,
grow : false,
resizable : false,
multiSelectMode : false,
preRenderValue : null
});
if(this.transform){
this.doTransform();
}
if(this.forceFormValue){
this.items.on({
add: this.manageNameAttribute,
remove: this.manageNameAttribute,
clear: this.manageNameAttribute,
scope: this
})
}
Ext.ux.form.SuperBoxSelect.superclass.initComponent.call(this);
if(this.mode === 'remote' && this.store){
this.store.on('load', this.onStoreLoad, this);
}
this.on('beforedestroy', function(){// 添加被销毁前事件
this.clearValue(true);
})
},
.......
...
EXT SuperBoxSelect使用 所在FormPanel销毁问题
最新推荐文章于 2015-01-13 12:04:44 发布
本文介绍了 SuperBoxSelect 组件的初始化过程,包括组件配置、事件监听等关键步骤。此外,还涉及了组件如何处理远程加载及销毁前的清理工作。
205

被折叠的 条评论
为什么被折叠?



