I would like to attach a context menu or menu to an toolbar, but I would like to invoke when I press left button. Currently I can do it by right button.
Hello,
Please take a look at the following sample. It shows how to attach popup (menu) to a toolbar button:
Thank you.
How do I attach submenu to the menu?
update the sample (via ‘Maira’) for u, have a look:
http://webix.com/snippet/7ecef2a1
Contextmenu is popup-based view. Therefore, you can attach it to buttons as well as a simple popup:
Thank you all.
Is there a way a check box can be used in menu/submenu?. When I click the submenu, only the submenu is getting closed automatically, where as the menu is still showing on the screen, unless I click anywhere. Is that normal?.
Is there a way a check box can be used in menu/submenu?.
Menu does have a ready solution for checkboxes, but you can customize template for context menu and its submenus:
http://webix.com/snippet/fd653a1e
When I click the submenu, only the submenu is getting closed automatically, where as the menu is still showing on the screen, unless I click anywhere.
Try to use contextmenu like in my example.
Thank you.