Categories | Question details Back To List | ||
after update I would like to alert my users with the number of rows updated/insterted/deleted after the dataprocessor has finished sending the changes to the server. How can i acheive this? Answer posted by Support on Jun 26, 2008 08:34 Can be done as var state={ update:0, insert:0, delete:0 } dataproc.setOnAfterUpdate(function(id,action){ state[action]++; if (dataproc.getSyncState()) alert("update="+state.update+" insert="+state.insert+" delete="+state.delete); }); |