fires when the editor is ready for data input
myDataView.attachEvent("onAfterEditStart", function (id){ // your code here });