开发者

Show and hide loading status in ExtJS

开发者 https://www.devze.com 2023-03-07 02:49 出处:网络
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 o

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

0

精彩评论

暂无评论...
验证码 换一张
取 消