onSaveError

fires when some error has happened during data updating

void onSaveError(array ids,XMLHttpRequest response);
idsarrayan array of events' ids that failed to update
responseXMLHttpRequestan Ajax request object

Example

scheduler.attachEvent("onSaveError", function(ids, resp){
    dhtmlx.message("Failed to  update data");
})

Details

The event will be invoked only if you use dataProcessor library for client-server communication.

Back to top