PDA

View Full Version : Window after autoload



royal_navy
7 Jan 2010, 8:07 AM
Hi at all,

I have a Ext.Window, with option "autoload" setted.

How can I know when the load is complete??? (I've noted that is an ajax request)

I'd need someting event like "afterLoadComplete..."

Thanks for your help

royal_navy
11 Jan 2010, 8:34 AM
This solution works:



autoLoad: {
url:some_url,
callback:
function(el,success)
{
if(success == true)
{
doSomething();
}
}
}

ljubomir.djokic
6 Apr 2010, 1:03 PM
Thanks royal_navy,

I was looking for this. Great work.