onAfterUpdate

fires after successful data update

void onAfterUpdate(object response,id id,object details);
response
objectthe JSON object with details of the server side response id
idthe old ID of the related item details
objectthe object which holds the state of data saving

Example

dp.attachEvent("onAfterUpdate", function(response, id, object){
    //... some code here ... 
});

Details

1 . The response parameter is a server response that can contain status (the status of the updated item) and other properties, e.g.:

2 . The id parameter is the item ID.

3 . The details parameter contains data saving details, e.g.:

The event will not fire for "error" or "invalid" responses during saving.

//for such response
{ id:"123", status:"custom" }
//the onAfterCustom event will be called
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.