jQuery UI Widgets › Forums › Navigation › Menu, Context Menu › Minimize after construction
This topic contains 7 replies, has 2 voices, and was last updated by Hristo 6 years, 5 months ago.
September 30, 2016 at 3:30 pm Minimize after construction #87828
On any demo, call $(“jqxMenu”).jqxMenu(“minimize”, true);
The menu minimizes though when expanding the menu it doesn’t seem to work well. Nor do events (itemclick) trigger anymore.October 3, 2016 at 4:56 pm Minimize after construction #87877
itemclick only triggers on the main menu toggle. Further, the menu doesn’t reload in the same div as before minimizing, thus causing trouble with the predefined click handlers.October 4, 2016 at 10:08 am Minimize after construction #87892
Could you provide us an example that demonstrates this issue and more detail?
Also, I would like to ask you what you would like to achieve.
http://www.jqwidgets.comOctober 5, 2016 at 12:08 am Minimize after construction #87908
As I mentioned previously that if you take any example of menu and ask it to minimize and have keyboardNavigation, jqxMenu(“minimize”) it will no longer trigger itemclick or autoclose or act like it does when it is non-minimized. Example:
I would like it to close on click as well. Can we close a minimized menu? I have tried jqxMenu(“close”) with no success. Only upon clicking on the minified icon will it close. I haven’t yet tracked down how that works so that I can call it too.October 5, 2016 at 2:27 am Minimize after construction #87909
It appears to be related to the keyboardNavigation option. If I take this out then the minimized menu itemclick’s work, though I still can’t close the menu programmatically. And I need the keyboardNavigation.October 6, 2016 at 6:59 am Minimize after construction #87955
About the “close” method – Closes the menu (only in context menu mode).
Unfortunately, it is not possible with API options. You could try to create some workaround.
Thank you for your understanding.
http://www.jqwidgets.comOctober 12, 2016 at 2:40 pm Minimize after construction #88103
To help others: in order to close the pop-out menu when minimized I used trigger(“click”) on the icon like
I still have not been able to find out a way to have
keyboardNavigationto work. This is definitely a bug in the code. I have to have keyboard navigation in order for this to be a viable solution.October 13, 2016 at 8:24 am Minimize after construction #88139
Thank you for the interest to jqxMenu.
It is a matter of personal settings can capture condition in which the pressure “esc” or “enter” and perform this logic.
You must be logged in to reply to this topic.