开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜