【发布时间】:2020-01-24 00:22:59
【问题描述】:
我有一个这样的远程商店:
example:{
storeId: 'example',
fields: ['field1','field2','field3'],
proxy:{
type: 'ajax',
url: 'data.cfc',
actionMethods: { read: 'POST' },
reader: {
type: 'json',
}
}
}
我的 Combobox 看起来像这样:
xtype: 'combo',
fieldLabel: 'Example',
name: 'Example',
bind:{
store: '{example}'
},
valueField: 'field1',
displayField: 'field2',
forceSelection: true,
我现在的问题是,当我在文本字段中输入内容时,组合框不会像queryMode: 'local' 那样过滤下拉菜单中的值。有没有办法实现与queryMode: 'remote' 相同的过滤器外观?
【问题讨论】:
-
你的意思是如果你在一个字段中写文本?没看懂问题的本质
标签: javascript extjs combobox extjs6