PDA

View Full Version : 2 combos one store



nsilva
17 Feb 2015, 7:34 AM
Hello, How can i use one store for 2 combos?

I have one form with two fieldsets and both share some fields, when it loads the app the store loads and makes 2 ajax calls for both combos, how can i have only one without having to call you guys,

Thanks

skirtle
17 Feb 2015, 8:04 AM
Would Ext.data.ChainedStore meet your needs?

nsilva
17 Feb 2015, 8:26 AM
Can you provide a simple example? Thanks