Dhtmlx tree error handling problem

tree.loadJSON(“tree.json”);



dhtmlxError.catchError(“ALL”,myErrorHandler);

dhtmlxError.catchError(“LoadXML”,myErrorHandler);



When “tree.json” file doesnot exist, it is giving some syntax error…instead of rasing error



need help…either of the catchError() methods are not working


We have added error catcher for json loading. Try to use attached file instead of teh original.


The error type is LoadXML


dhtmlxtree_json.zip (2.11 KB)