PDA

View Full Version : [2.2.1] Combobox filtering



napolux
19 May 2009, 2:13 AM
Hi there! ;)

Working with a combobox I'm trying to filter (on keyup, with the "anymatch" parameter set to true so it will filter the whole string and not only the beginning) the store values against the raw value of the combo


// COMBOBOX CODE...
[...]
// LISTENERS PART
keyup: function (t,e){ t.store.filter("text",t.getRawValue(),true);
}

The filter seems to work randomly returning the right values only in some cases...

The store I use is a SimpleStore. Any clue?