AfterAdd

fires after adding a new item into a tree collection

void AfterAdd(object newItem){ ... };

Parameters

newItemobjectthe object of an added item

Example

data.events.on("AfterAdd", function(newItem){
    console.log("A new item is added");
});

See also
Back to top