:: Forum >>
Weird XML data rendering
Hi All
I'm just beginning evaluation of AW Grid
With this code
var table = new AW.XML.Table;
with(table){
setURL('/Temp/51804950.xml');
setAsync(false);
request();
}
oGrid.setCellModel(table);
AW Grid displays that:
[i]function () { try { if (this._innerHTML) { return this._innerHTML; } this._innerParamLength = 0; var i, j, name, value, param1, param2, html, item, s = ""; var content = this._content.split(" "); for (i = 1; i < content.length; i++) { name = content[i]; value = this["_" + name + "Content"]; if (typeof (value) == "function") { param = getParamStr(this._innerParamLength++); this[param] = value; s += param; } else { if (typeof (value) == "object" && value.defineModel) { ...[i]
Any direction please ?
Thierry Nivelet
Thursday, April 6, 2006
Found!
Before
var loGrid = new AW.UI.Grid;
Object.extend(loDiv, loGrid);
After
var loGrid = new AW.UI.Grid;
loDiv.innerHTML = loGrid;
Object.extend(loDiv, loGrid);
(Object.extend() from prototype.js)
Thierry Nivelet
Thursday, April 6, 2006
This topic is archived.
Back to support forum
Forum search