var el     = Ext.getBody(),
    myMask = new Ext.LoadMask(el, { msg : 'Please wait...' });

myMask.show();

myMask.msg = 'Test';

setTimeout(function() {
    el.mask(Ext.LoadingSpinner + ' ' + myMask.msg + ' ', myMask.msgCls, false);
}, 1000);


---------------------------------------------------------------------------------------------

Code:
var loadMask = new Ext.LoadMask(Ext.getBody(), {msg: "Please wait..."});
The you have to configure your store listeners

Code:
...
listeners: {
    beforeload: function(store, opt){
           loadMask.show();
    },
    dataChanged: function(store) {
          loadMask.hide();
    }
}
...
Posted by 요지
,