View Full Version : OnDemand loading in ComboBox

14 Oct 2009, 3:07 AM
Hi All,
I am new to ExtJS. I am trying to load a combobox on drop. (i.e) It should the combobox when we click the down arrow. Is that possible? If yes, can you give a sample or reference?


14 Oct 2009, 3:39 AM
Set the combo box's store to 'autoLoad : false' and then the combo to mode : 'remote'

14 Oct 2009, 8:32 PM
I understand what you are saying. But I need to load the store from a webservice/ajax call. Do I need to set proxy also? What is the data format that has to be returned from the webservice? I am using ArrayStore.

15 Oct 2009, 1:40 AM
ArrayStore examples have been demonstrated in the examples. you *technically* don't need to create a proxy, the ArrayStore will do that for you.

15 Oct 2009, 3:31 AM
Thanks so much for sharing the post.