您的位置:首页 > 其它

Ext.form.field.ComboBox 切换store没有反应

2013-06-24 09:50 411 查看
遇到这种情况建议使用下面这个方法,可以有效避免上面的问题

bindStore( [Ext.data.AbstractStore/String store],
[Boolean initial] )

Binds a store to this instance.

Parameters

store : Ext.data.AbstractStore/String (optional)

The store to bind or ID of the store. When no store given (or when
null
or
undefined
passed),
unbinds the existing store.

initial : Boolean (optional)

True to not remove listeners from existing store.

Defaults to:
false
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: