I have noticed that webix is calling editStop
as part of the call stack when I open an editor in the datatable and then click on somewhere else on the document body. Is it possible to force it to have editCancel
behavior instead? If someone opens an editor, makes a change and then clicks on some other link to leave the page without saving, I don’t want it to save the change.
@nathan_grier
try to override default editStop
behavior
https://snippet.webix.com/pyws3ppi
not checked in production though
Thanks, I will try it and let you know.
@nathan_grier
in prev snippet editCancel
is invoked on any mouseclick event.
if you want to invoke editCancel
only on clicks outside of current table then check this
https://snippet.webix.com/t2okq51m