dataprocessor update status

I have serveral rows to update. I want to do something in the callback function for the last update row. Is is possible?

You can use code similar to next

dp.setOnAfterUpdate(function(){
if (dp.getSyncState()){
//code here will be called after last row updated
}
});