onDataUpdate

fires when a data item is being updated

void onDataUpdate(string|number id,object data,object old);
idstring|numberthe ID of an item
dataobjectthe new data object
oldobjectthe old data object

Example

view.data.attachEvent("onDataUpdate", function(id, data, old){
    //... some code here ...
});

See also
Back to top