Hello again,
How to use side menu? I mean side menu is showing, but I can’t use it just like a button. Where should I put click properties?
I tried to use menu onMenuItemClick like this http://docs.webix.com/desktop__menu.html but it didn’t work.
Please help, thank you…
You need to use the onAfterSelect
or the onItemClick
event. Please, check the sample:
http://docs.webix.com/samples/28_sidemenu/01_sidebar.html
Wow… thank you, it worked.
But if I click it, it won’t be clicked again except I click another item then click that item again. Is there a way to make it functioning just like a button?
Perhaps I’ve corrected my answer too late, sorry. onItemClick
event works as you need.
Note that onAfterSelect
fires when menu item is selected, but onItemClick
occurs even if you expand the parent item
Oh yeah, I miss that too. It worked perfectly. Thank you.