跳转到主要内容

onSaveError

Description

当数据更新过程中发生错误时触发

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

Parameters

  • ids - (required) array - 包含更新失败事件ID的数组
  • response - (required) XMLHttpRequest - Ajax请求对象

Example

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

Details

注释

此事件仅在使用dataProcessor库进行客户端与服务器通信时触发。

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.