cancels the edit mode and closes all opened editors. The component remains editable.
$$("mygrid").editCancel();
The method doesn't save changes before closing the editor(s).