I am using a data grid in a page overlay. When I right click the header to reveal the context menu, the menu is sitting behind the overlay window. I am thinking this may be a z-index issue but I am not 100% sure.
Which styles does the grid header context menu use?
I see the issue now. We are using jquery blockUI scripts. There is a transparent iFrame that suppresses any underlying content that isn’t in the content window. I’m guessing the cmenu is rendered separately to the grid/gridcontainer.
We have similar issue. We have following stacked layout:
– DHTMLX chart element
– DHTMLX grid element
When we right click on the header of the grid, the menu overlaps the chart labels. The Labels(dhx_canvas_text) from the underlying chart show up on top of the header menu.
I tried to increase the z-index of “.dhx_header_cmenu” to 999999 as suggested, but it didn’t help. However, if I reduced the z-index of “dhx_canvas_text” from 1000 to 100, it worked fine. I wanted to confirm if my change to canvas text would have some other adverse effect or not.
Thanks. I found the problematic area and fixed it.
Implemented change in dhtmlx.css. Z-Index of “dhtmlxMenu_dhx_skyblue_SubLevelArea_Polygon” was changed to 1001 and following style was added:
–> z-index:1001!important;
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan