PDA

View Full Version : Combo Loading on click



khebrela
5 Mar 2012, 2:25 AM
Hi,

So i got this problem I load store from controller but when i press combo (drop down list) it still loads store again, any suggestions ?

thanks :)

chramer
5 Mar 2012, 3:56 AM
add this to the combobox config:

queryMode : 'remote'

and this after store load

combobox.lastQuery = null;
combobox.clearValue();

skirtle
5 Mar 2012, 8:52 PM
Your question is a little ambiguous but I think you want:


queryMode: 'local'

Further reading:

http://skirtlesden.com/articles/extjs-comboboxes-part-2