Hi All,

I am new to extjs and working now for a few days with Sencha architect. Wow, it works very well. During my experiments I have a simple problem, but difficult for me.

I have a combobox, with a store which is autoloaded. After the page is loaded, I can open the list and see all records from the store. Now, I want to filter on a substring in one of the fields. This implemented via the keyup event. The filter works (since record count is correctly display in console) but the combobox list gets empty. When pressing the arrow down, the list is shown and I see the filtered records. Any idea what I am doing wrong?

xtype: 'combobox',
fieldLabel: 'Label',
enableKeyEvents: true,
displayField: 'NAAM',
forceSelection: true,
queryMode: 'local',
store: 'DagInfoInstructeursStore',
valueField: 'ID',
x: 310,
y: 70,
listeners: {
keyup: {
fn: me.onComboboxKeyup,
scope: me
}
}

onComboboxKeyup: function(textfield, e, options) {
textfield.store.clearFilter();
textfield.store.filter([
{
property : 'NAAM',
value : textfield.getRawValue(),
anyMatch : true,
caseSensitive: false //optional, defaults to true
}
]);
delete textfield.lastQuery;
console.log(textfield.store.getCount());
}