fires before sending data to a server
id | string|number | the id of an item |
state | string | the item's state (operation type) |
data | object | serialized data that will be sent to the server side |
dp.attachEvent("onBeforeDataSending", function(id, state, data){
//custom code here
return true;
});
The event fires for each data update request (after onBeforeUpdate).
The event can be blocked. Returning false from event handler will prevent data sending.
Possible response statuses are the following: