Parameters:
view.attachEvent("onBeforeEditStop", function (id){ //any custom logic here return true; });
Event is blockable, if non-true value returned from custom method, default reaction will be blocked