fires when the editor is closed
myDataView.attachEvent("onAfterEditStop", function (id){ // your code here });