fires if the scheduler has failed to parse data, or if the server has returned 4xx or 5xx response status

void onLoadError(XMLHttpRequest response);
responseXMLHttpRequestan Ajax request object


scheduler.attachEvent("onLoadError", function(response){
    dhtmlx.message("Failed to load data");


The event is invoked by the parse and load methods.

In case the event is invoked by the parse method, the handler function will take as a parameter an object with the responseText property, which will contain data to be parsed as a value:

    responseText: parseArgument
Back to top