PDA

View Full Version : unwanted Loading Message on combo box



coldflame
24 Apr 2012, 3:44 AM
I have a combo box with queryMode=local and store attached with it. When i load the store manually by calling store.load() and open the combo box it will show loading mask on it.

How to load the store that it will not show loading mask.

Thanks

coldflame
24 Apr 2012, 3:47 AM
I didn't want to use queryMode=remote. remote mode is solving the issue but i don't want to use it.

friend
24 Apr 2012, 5:09 AM
ExtJs 4.0.7 has a known bug regarding the LoadMask class, where it directly affects ComboBoxen.

Try this override and see if it helps:



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

coldflame
24 Apr 2012, 5:27 AM
Thanks for the code. I will try it. But i make a work around by calling loadData() function which loades the records array. I sent the records array as it was generating at backend so i just pass it in call and using loadData it is working fine.