Ext.form.field.ComboBoxView
2012-10-18 15:52
507 查看
Ext.form.field.ComboBoxView
xtype: combobox, combo
A combobox control with support for autocomplete, remote loading, and many other features.(一个组合框控件支持自动完成、远程加载,以及许多其他功能。)A ComboBox is like a combination of a traditional HTML text
<input>field and a
<select>field; the user is able to type freely into the field, and/or pick values from a dropdown selection list.(一个组合框就像传统的HTML文本< input >字段和< select >字段的组合,用户可以自由地输入领域或从下拉框中选择列表值。) The user can input any value by default, even if it does not appear in the selection list; to prevent free-form values and restrict them to items in the list, set forceSelection to
true.(用户默认情况下可以输入任何值,即使它不出现在选择列表,要防止自由格式的值和限制它们为列表中数据项,可以把forceSelection设置为true。)
The selection list's options are populated from any Ext.data.Store, including remote stores.(选择列表的选项可以从任何Ext.data.Store中填充,包括远程的stores) The data items in the store are mapped to each option's displayed text and backing value via the valueField and displayField configurations, respectively.(store的数据项映射到每个选项的显示文本和背后文本是通过分别进行valueField和displayField配置,)
If your store is not remote, i.e. it depends only on local data and is loaded up front, you should be sure to set the queryMode to
'local', as this will improve responsiveness for the user.(如果你的store并不是远程的,例如,它只取决于本地数据和预先加载,您应该确保设置了queryMode为“本地”,因为这将为用户提高响应能力。)
相关文章推荐
- Ext.form.field.Picker (ComboBox、Date、TreePicker、colorpick.Field)竖向滚动导致布局错误
- Ext.form.field.comboBox
- Ext.form.field.ComboBox 切换store没有反应
- Ext.form.ComboBox获得displayField的值
- 如果使用Ext.form.ComboBox 作为editor,并设置了store,在选择后,在表格单元中显示的是store中的displayfield 而不是valuefield
- Ext.form.field.ComboBox示例
- Ext.form.ComboBox提交始终获得displayField的值-解决
- 【转】解决Ext.form.ComboBox提交始终获得displayField的值
- Ext.form.field.ComboBox结合Servlet、JSON实现AutoComplete
- ExtJs4 Ext.form.field.ComboBox 刷新数据出现一直加载的问题
- 组合框Ext.form.field.ComboBox
- Ext 向Ext.form.ComboBox()中添加列表的分类
- Ext.form.TextField基本用法 和 得到top left
- Ext.widgets-form(下)ComboBox,TimeField,DateField,TriggerField,TextArea,NumberField
- Extjs4中的Ext.form.field.Spinner
- 关于Ext中form移除textfield方法:hide(),setVisible(false),remove()
- ExtJs文件上传(Ext.ux.form.FileUploadField)
- 采用ExtJS4.2的Ext.form.ComboBox实现自动完成
- Ext.form.Combobox属性详解
- 继承Ext.form.TriggerField,实现树下拉选择(新增示例下载)