Datatable editing within multiview

I have a datatable as one view in a multiview. When I change views, if there is an open editor in the datatable, I want to cancel it. But the editor is closed before I can do that.

I have an onAfterEditStop handler in the datatable, but the ignore parameter is undefined in this situation. It should be true or false. I would like it to be true when changing multiviews views. Or at least be able to tell if the edit was due to changing the view in the multiview.

How can I do that?

Hello,
Edit is closed before the click on tab, so
to solve the issue you can use event method which attaches an event handler to an HTML element

webix.event($$("tabbar").getNode(), "click", function(e){ 
 if ($$('tableview').getEditState())
    $$('tableview').editCancel() 
});

where getEditState() returns info about active editor object and if the edit is opened editCancel cancels the edit mode and closes all opened editors.
Here is an example: https://snippet.webix.com/4hjp0ja4