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 instruction somewhere and a hide one elsewhere. Didn't find anything like that by now...

Thanks in advance for any idea.

Answers


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


Need Your Help

Parse XML data using php

php xml dom

Here is an xml example that I load from an external xml file

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.