I am using the dhtmlxMenu object with the Scheduler and have set it to renderAsContextMenu.
I am able to show the context menu when I right mouse click inside the Scheduler but the menu does not stay visible unless I keep the RMB held down. When I use the Menu object with a dhtmlxGrid object the context menu does stay visible until I click somewhere else on the grid.
Is there a way of making the context menu stay visible?
I have tried changing the mode to ‘web’ and setting the WebModeTimeout but still cannot get it to remain on screen.
Further to my initial query I can get the context menu to remain on screen but only if I move the mouse over the menu. Whereas when using contextmenus withthe grid object the menu remains on screen irrespective of whether the mouse is over it or not.
Stanislav do you have any ideas how I could overcome this problem
I’m using the version 2.3 of the library and I’m encountering the same problem as described above. Could someone give me a clue to solve that annoying problem.
Thanks to your answer, I quickly figured out that my problem was due to the body tag CSS (see attach file). The aim of this CSS is mainly to center the page contents in the browser window. I overcame the problem by adapting the coordinates in the “oncontextmenu” event handler. I would really appreciate that you let me know if you have a better solution.