下拉列表模糊查询(重要代码):
listeners : { beforequery : function(e) { var combo = e.combo; if(!e.forceAll){ var value = e.query; combo.store.filterBy(function(record, id){ var text = record.get(combo.displayField); return (text.indexOf(value)!=-1); }); combo.expand(); return false; } } },