PDA

View Full Version : What event gets fired when I click on the down arrow of a combo box?



denisputnam
29 May 2014, 7:32 PM
What event gets fired when I click on the down arrow of the combo box? Perhaps a better question is, "How do I pre-populate the combo box and then not have it try to load the first time I click the down arrow?"

I am loading the store before I click the combo box, but when I click it the first time it loads, but I with the wrong parameters.

skirtle
29 May 2014, 10:29 PM
You need:


queryMode: 'local'

Docs:

http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.ComboBox-cfg-queryMode
http://skirtlesden.com/articles/extjs-comboboxes-part-2