Ext.Ajax.request提交实现waitMsg效果
1)fp为FormPanel
fp.body.mask("加载中...", 'x-mask-loading');
2)LoadMask
在请求之前加一个mask图层
var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please wait..."}); myMask.show();
在回调函数里首先把图层隐藏掉
myMask.hide();
3)
在请求之前
var box = Ext.MessageBox.wait('Please wait while I do something or other', 'Performing Actions');
在回调函数里首先把图层隐藏掉
box.hide();
1)fp为FormPanel
fp.body.mask("加载中...", 'x-mask-loading');
2)LoadMask
在请求之前加一个mask图层
var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please wait..."}); myMask.show();
在回调函数里首先把图层隐藏掉
myMask.hide();
3)
在请求之前
var box = Ext.MessageBox.wait('Please wait while I do something or other', 'Performing Actions');
在回调函数里首先把图层隐藏掉
box.hide();