View Full Version : [Solved] Disable Loading Indicator of Ext.LayoutDialog?
cluettr
07-22-2007, 11:01 AM
Is their a way to completely disable the loading indicator of a LayoutDialog so that when the load operation is performed on that dialog to dynamically fetch content that it will not show?
eoxPanel.load({ url: 'rma/contents_dialog_part.php?part=' + value, nocache: false, scripts: true});
you already tried
eoxPanel.load({ url: 'rma/contents_dialog_part.php?part=' + value, showLoadIndicator: false, nocache: false, scripts: true});
?
cluettr
07-22-2007, 04:38 PM
Hi dj, thanks for the response. I tried that but it didn't work.
tryanDLS
07-22-2007, 07:57 PM
Tested this with 1.1RC1. It looks like there is a bug in the way that config entry is applied (actually not applied before the call to showLoading). To get around it, you can do something like:
var el = eoxPanel.getEl();
var um = el.getUpdateManager();
um.showLoadIndicator = false;
el.load({url:'test2.html',...});
cluettr
07-22-2007, 08:07 PM
Thanks Tim, works perfectly!
sosyxg
07-22-2007, 09:07 PM
Example:
Ext.Ajax.request({
url:'Test.jsp',
method:'GET',
callback:function(options,success,response){
if(success)
{
alert(response.responseText);
}
else
{
}
}
});
Note:it is can work normal,but don't have default loading,so i want to get a loading like 'fs.load({url:'xml-form.xml', waitMsg:'Loading'});',when the value of success is true,the page location to a main page,how can i do it ?thanks
cluettr
07-22-2007, 10:04 PM
I'm not clear on what you are asking exactly. I'm not sure if your question is on the same topic as the title of this post.
sosyxg
07-22-2007, 11:58 PM
Sorry,make a mistake,but can you give a help?
cluettr
07-23-2007, 12:16 AM
No worries. I think the best bet is to post this as a new thread and I will answer if I can. It will also allow some of the experts to answer. I'm much of a newbie myself : )
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.