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.
The store to bind or ID of the store. When no store given (or when
unbinds the existing store.
initial : Boolean (optional)
True to not remove listeners from existing store.
Defaults to:
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
nullor
undefinedpassed),
unbinds the existing store.
initial : Boolean (optional)
True to not remove listeners from existing store.
Defaults to:
false
相关文章推荐
- 如果使用Ext.form.ComboBox 作为editor,并设置了store,在选择后,在表格单元中显示的是store中的displayfield 而不是valuefield
- ExtJs4 Ext.form.field.ComboBox 刷新数据出现一直加载的问题
- Ext.form.field.comboBox
- 组合框Ext.form.field.ComboBox
- Ext.form.ComboBox获得displayField的值
- Ext.form.field.ComboBox示例
- Ext.form.field.ComboBox结合Servlet、JSON实现AutoComplete
- Ext.form.field.Picker (ComboBox、Date、TreePicker、colorpick.Field)竖向滚动导致布局错误
- Ext.form.field.ComboBoxView
- Ext.form.ComboBox提交始终获得displayField的值-解决
- 【转】解决Ext.form.ComboBox提交始终获得displayField的值
- Ext.form.ComboBox加载Ext.data.SimpleStore的data数组的问题
- Ext.form.ComboBox调用store.filterBy失效问题
- Ext.form.ComboBox调用store.filterBy失效问题
- Ext.form.TextField与Ext.form.TextArea
- Ext.form.ComboBox 属性详解(见注释)及使用方法
- Ext.form.field.CheckBox复选框和Ext.form.field.Radio单选框
- EXT NumberField\TextField\ComboBox的fieldLabel动态修改
- ExtJs文件上传(Ext.ux.form.FileUploadField)
- Ext.form.ComboBox服务器端加载数据