onStoreUpdated

fires after data is changed in datastore

void onStoreUpdated(id id,object obj,string mode){ ... };

Parameters

ididthe id of updated object
objobjectupdated object
modestringupdating mode ('add', 'delete', 'update')

Example

view.data.attachEvent("onStoreUpdated", function(id, obj, mode){
    //... some code here ... 
});

See also
Back to top