fires for data saving errors

void onAfterSaveError(string id,string status,object response,object details){ ... };


idstringid of updated item
statusstringupdate status
responseobjectserver side response parsed as JSON object
detailsobjecterror details


dp.attachEvent("onAfterSaveError", function(id, status, response, details){


The structure of the response object:

   id:"id of the item",
   status:"update status",
   newid:"new id after operation"

The structure of the details object:

   text:"full text of server side response",
   data:"webix ajax data related to the error",
   loader: xhr // xmlHttpRequest object related to the error
See also
Back to top