grid clearAndLoad problem

Folks, I have a grid catchError() function that is getting called when it should not be. The situation is as follows, the grid data is typically loaded from an xml file (via clearAndLoad), but there is a code path that requires loading data from a csv file, at which point I set the grid.csv.cell to a tab and do another clearAndLoad(). Here is the pertinent code:

myGrid.csv.cell = "\t"; myGrid.clearAndLoad(url, function() { ... }, "csv");

However the next time I have to load some xml data the catchError function is invoked and reports a loadXML error. I have tried explicitly setting the type in the clearAndLoad as follows:

myGrid.clearAndLoad(url, "xml"); // as well as: myGrid.clearAndLoad(url, function() { ... }, "csv");

Any help would be much appreciated.

Thanks,

Daryl

Unfortunately your issue cannot be reproduced locally.
If the problem still occurs for you, please, provide with a demo link or a complete demo, where the issue can be reconstructed locally.