One of the menu buttons in my men (webix.ui.sidebar) should have custom behavior.
I can easliy add that with ‘attachEvent’, but app still wants to redirect to view which doesn’t exists…
How to prevent that ?
leftmenu.attachEvent("onItemClick", (id, event) => {
event.peventDefault();
});
but sadly that doesn’t work…