Перейти к основному содержимому

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("Не удалось обновить данные");
})

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.