PDA

View Full Version : combobox queryMode local still shows loading



ultra2
23 Nov 2011, 12:11 PM
I have grid with a gridcolumn, it's field is a combobox.
The combobox's queryMode is set to local, the store is ajax, json store.
When I load the store, the combobox will shows data. User can select, everything ok.

After I load the store second time, the combobox will shows "loading panel" prevent user to select
any item. On combobox beforequery fires, if I set cancel = true, It wont show dropdown at all.

My need to have stores loaded by myself, and not by comboboxes.

Can you help, pls?

mitchellsimoens
23 Nov 2011, 12:20 PM
The loading message has been worked on and will continue to be worked on and will most likely be fixed by the next release.

ultra2
23 Nov 2011, 12:40 PM
Is there any way (or hack) to disable that message globally in the application? I am using 4.0.7 version.
(This problem also exist if a combobox placed on form or anywhere.)
I cant test my application.
thx

mitchellsimoens
23 Nov 2011, 1:31 PM
Try setting loadMask to false in the listConfig Object on the ComboBox. That will not allow the BoundList to show that loading mask.

ultra2
23 Nov 2011, 2:15 PM
That works!!!
Thank you!

HTK
30 Nov 2011, 2:05 AM
If you want to use the loadMask you could also use this override:

Ext.override(Ext.LoadMask, {
onHide: function() { this.callParent(); }
});

keithrust
17 Dec 2011, 4:07 PM
How do you set the listConfig options when using Designer? I can't find an option for this and I'm not sure on the syntax when setting it manually in the js file.

sundae
15 May 2012, 1:56 AM
If you want to use the loadMask you could also use this override:

Ext.override(Ext.LoadMask, {
onHide: function() { this.callParent(); }
});


it's work!!!! tq :)