extjscomboboxstoreextjs2

Ext 2 prevent ComboBox from Store loading


According to the most recent Ext JS documentation I have to set queryMode: 'local' in ComboBox configuration to prevent it from autoloading its Store (I want to load the content of this Store manually, after selecting the value in another ComboBox, and do some filtration of records).
The issue it that we're still using the Ext JS version 2.2, and I didn't find this option in docs. So, the question is: how I can achieve the same ComboBox's behavior in the old Ext JS?


Solution

  • Okay, I found the solution. The configuration option is already there, the only difference between Ext 4 and Ext 2 is that the name of this option isn't queryMode, but mode. I had to be more thoughtful.