Show and hide loading status in ExtJS
I've found some documentation for pinning a loading mask to any ExtJS element, but I need it to behavior other way. I want to explicitly write a show ins开发者_JAVA技巧truction somewhere and a hide one elsewhere. Didn't find anything like that by now...
Thanks in advance for any idea.
try this :
function loadMask(el,flag,msg){
var Mask = new Ext.LoadMask(Ext.get(el), {msg:msg});
if(flag)
Mask.show();
else
Mask.hide();
}
refer this : Load Mask
精彩评论