Blog Archive

ExtJs ComboBox LoadMask Second time Store Loading Issue

I had the same problem, basically the loading mask stays, when doing cascading ComboBoxes. Wasted a lot of hours trying to figure it out and then found the solution on a forum. Seems like a bug that needs fixing.

The problem occurs when reloading the ComboBox for the second time:

  1. Load a ComboBox data
  2. Expand the ComboBox once
  3. Reload ComboBox data calling store load function
  4. Expand the ComboBox again
  5. Loadmask doesn't dissapear like it should
ExtJs ComboBox LoadMask Second time Store Loading Issue



Solution

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