Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stevo on Apr 23, 2008 14:00
open dhtmlx forum
sticky Context Menus on Grid control

I am using a context menu when a user right clicks on a row in the grid. If you don't select anything in the menu and move on the menu does not go away until you click on another item in that same grid. I also noticed your samples in your documentation does the same thing. Is there a way to make them go away on another event or expire if you move away from it?

Thanks in advance.

Steve
Answer posted by Support on Apr 24, 2008 04:30
Basically menu will close on any click ( inside or outside of grid ) - this is enough in most cases.
There is no native support for closing menu on mouseover, but you can can attach code to any DOM events and call
    myMenu._contextEnd();