View Full Version : many combobox use one ajax store
5 Dec 2011, 4:45 AM
I wanna draw a form with three combo boxes.
These three combo boxes use one ajax store
So I create a single store, and was connected with the combo boxes.
And combo boxes request ajax call for indicating data (so three times calling)
Is there any way that you can perform only once?
do the combos share one instance of a store or the same class?
one instance might be easier but keep in mind that filters will get shared. so triggerAction: 'all' is recommended.
make sure that not each combo has listeners to load the store and if the store has the config autoLoad set to true (if the combos share the same class,...).
5 Dec 2011, 6:31 PM
Sharing stores is discussed here:
As the filters are shared you can only really share stores if editable: false is set.
To avoid loading 3 times you need to set the store to autoLoad: true and the comboboxes to queryMode: 'local'. You should really do that anyway if you're using editable: false.
5 Dec 2011, 9:03 PM
i can't access http://skirtlesden.com/articles/extjs-comboboxes-part-2 , http://consultjs.com/ , http://skirtlesden.com/
is it right url ???
p.s. i'm in korea. :D
5 Dec 2011, 9:32 PM
The URLs are correct and the sites are all working. I can only assume it is a problem with your connection, the logs show traffic from elsewhere.
Try the Google cache copy instead:
The demos won't all work correctly but at least you'll be able to read the content.
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.