onDataUpdate

fires when a data item is being updated

void onDataUpdate(string|number id,object data,object old){ ... };

Parameters

idstring|numberthe ID of an item
dataobjectthe new data hash
oldobjectthe old data hash

Example

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

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui framework and page of javascript chart library product.