PDA

View Full Version : Problem autoload grid editor in IE7



anpegar
7 Apr 2011, 3:21 AM
Hi
I have a script where I used Ext.Panel for load 2 grid editor with autoload option and scritp set true.
This script works fine in FF, Chrome. (see image firefox.jpg).
In IE7 fails, error 80020101.
The file autoload.html.txt is the script loaded.
Can Anyone help me.
Thanks



Ext.onReady(function() {


function mifuncion(pId,pGr)
{
var rtp = Ext.getCmp(pId);
rtp.items.add(Ext.getCmp(pGr));
rtp.doLayout();
}


var g84=new Ext.Panel(
{ id: ''g84'',
height: 250,
width:600,
autoLoad: {url:"autoload.html",
scripts:true,
callback: function (el, succ, resp, opts) {
mifuncion(''g84'',''grid84'');
}
}
});
});