19 Nov 2012 9:44 PM #1
Unanswered: Load the store of combobox while intializing the window
I've a window. In that window i've one combobox witha store. I want to mask the window until the store completes loading data. This i can achieve by writing this.setLoading(true) in store before load and this.setLoading(false) in load.
But When i'm using above approach the mask is displaying after clikcing on the combo trigger. That means store is getting loading after clicking on the trigger. Instead of that i want to load the store while intializing the window.
How can i achieve this?
19 Nov 2012 10:52 PM #2
use "autoLoad: true" config of store class
Give autoLoad: true config to your store class.
http://docs.sencha.com/ext-js/4-1/#!...e-cfg-autoLoadsword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
19 Nov 2012 11:05 PM #3
Thanx alot for your response.
It's working fine.