Parameters:
view.attachEvent("onEditKeyPress", function (code, ctrl, shift, ev){ //any custom logic here return true; });
Event can be used to define on which key edit process will be stopped
view.attachEvent("onEditKeyPress", function (code, ctrl, shift, ev){ if (code == 13) this.stopEdit(); return true; });