onAfterDataSend

fires the moment data has gone to server

void onAfterDataSend(object details);
detailsobjectobject with data details (see below)

Example

//dp is a dataprocessor object
dp.attachEvent("onAfterDataSend", function(details){
    //code
});

Details

The event parameter, details, consists of:

  • data (object) - data object;
  • id (string, number) - ID of a data item on client side;
  • operation (string) - operation name ("update, "insert", "delete");

and looks like:

{
    id:5,
    operation:"update",
    data:{
        id:5, 
        title:"The Godfather",
        rating:"9.2"
    }
 
}
See also
Back to top