Skip to main content

onSaveError

Description

Fires when some error has happened during data updating

onSaveError: (ids: array, response: XMLHttpRequest) => void

Parameters

  • ids - (required) array - an array of events' ids that failed to update
  • response - (required) XMLHttpRequest - an Ajax request object

Example

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

Details

note

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

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.