Change

fires when a tree collection is modified

void Change(string id,string status,object updatedItem){ ... };

Parameters

idstringthe id of an item
statusstringthe status of the operation:"add"|"update"|"remove"
updatedItemobjectthe object of an updated item

Example

data.events.on("Change", function(id,status,updatedItem){
    console.log("An item is updated");
});

Back to top