Search code examples
maskextjs3masking

Load mask for panel in ExtJS 3


I want to add a loading mask for a specific item/panel. I do some research abaout this. In ExtJS 4 there is a function for all component which is setLoading(). Is there any equivalent for ExtJS 3?

I want do smt like this: http://jsfiddle.net/molecule/pKq8X/


Solution

  • var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please wait..."});
    myMask.show();
    

    refer: http://extjs.cachefly.net/ext-3.4.0/docs/ LoadMask