Hi Everyone, I am seeing an error in the console from a grid.clearAndLoad(url) that says:
Uncaught TypeError: Cannot call method ‘indexOf’ of undefined dhtmlx.js:33
The stack trace shows:
dtmlXMLLoaderObject.doXPath
eXcell_combo.fillColumnCombos dhtmlx.js:1326
(anonymous function) dhtmlx.js:1317
d dhtmlx.js:41
a.callEvent dhtmlx.js:41
xmlLoader.onloadAction dhtmlx.js:835
check
My javascript code follows:
var url = “/arc?sm=1&o=jb”
mygrid.clearAndLoad(url, function() {
console.log("finished initial clearAndLoad url = " + url);
});
The xml being returned by the server is:
<?xml version="1.0" encoding="iso-8859-1"?> server.20140116.csv 4750020 2014-01-16 23:01 server.20140117.csv 8046732 2014-01-17 23:01The xml uses a carriage return (ascii 13) for line endings.
Any help would be much appreciated. If I can provide further information, please let me know.
Thanks,
Daryl