PDA

View Full Version : How to load a remote store and filter locally within a combobox



siebe vos
4 Jan 2012, 6:14 AM
Does anyone know how to load a combo using a remote store at clicking the combo's trigger (autoLoad of the store = false) and do the filtering on the stores data locally (when typing a value in the combo)? When setting the queryMode to 'remote' the loading is done at clicking the trigger but also the query (typed search value) is done remotely and that is not what I want, I want to query locally without the store beeing reloaded with the query param.

Thanks in advance!

mitchellsimoens
4 Jan 2012, 7:48 AM
Turn the typeAhead to false and then add listeners for the keydown event and do the filtering yourself.