I have a menu like this link. I use webix jet to change subview. https://snippet.webix.com/rmehl2mi
init Menu i use this.use(plugins.Menu, "top:menu")
Menu plugin uses onAfterSelect event on menu widgets. but only top menu can be selected. try this as workaround
Menu
onAfterSelect
menu
on:{ onMenuItemClick: function(id){ let subMenu = this.getMenu(id); if(subMenu !== this){ this.callEvent("onAfterSelect", [id]); } } }
https://snippet.webix.com/jcx8avsr
Ur way is good. intregal.
After select once menu, why isn't it toggle the button like layout:"y"
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Menu
plugin usesonAfterSelect
event onmenu
widgets.but only top menu can be selected.
try this as workaround
https://snippet.webix.com/jcx8avsr
Ur way is good. intregal.
After select once menu, why isn't it toggle the button like layout:"y"
https://snippet.webix.com/jcx8avsr