---
title: "Ext.form.ComboBox调用store.filterBy失效问题"
author: "pingfan"
date: "2009-11-11T10:16:43Z"
tags: []
slug: "ext-form-combobox-store-filterby"
draft: false
lastmod: "2009-11-11T10:18:13Z"
id: 514163
url: "https://pingfan.iteye.com/blog/514163"
---

**问题:**  
在ComboBox初始化后,调用combobox.getStore().filterBy()来过滤下拉框的数据,失效,

但当点击一次下拉框后,再调用过滤,一切正常..

**解决办法:**  
设置combobox的lastQuery属性为''