问题记录:
在extjs 4,使用combox的store的filter,但是第一次始终不起作用,第二次开始正常。
解决办法如下:
http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.form.field.ComboBox-property-lastQuery
即添加:
queryMode: 'local',
triggerAction: 'all',
lastQuery: ''
问题记录:
在extjs 4,使用combox的store的filter,但是第一次始终不起作用,第二次开始正常。
解决办法如下:
http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.form.field.ComboBox-property-lastQuery
即添加:
queryMode: 'local',
triggerAction: 'all',
lastQuery: ''