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


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 ui component library and page of javascript tree control product.