I have been looking at the DXMenu for dropdowns and such, but the one thing that is bothering me is when the menu is displayed clicking on the same button again does not hide the menu. It should be more like a tiggle.
I've been going through this for ages trying to find the right setting or trick and cannot find anything.
Anyone have any ideas?
Most recently I've been playing with
showSubmenuMode
onItemContextMenu
Example: https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxMenu/