а

Contextmenu, window and dataview


#1

Hello. We have a problem. We have a procedure in which a dhtmlxdataview is inside a dhtmlxwindow. When we associate a contextmenu to the dataview, the menu not see. It appears below the window (we only see it by resizing the window).
The code is as follows:

window1 = new dhx.Window({width: 400, height: 200, top: 5, left: 5, title:“try”, header: true, footer: true, resizable: true, movable: true, viewportOverflow: true});
dataview1.data.load("…");
window1.attach(dataview1);
dwcmenu = new dhx.ContextMenu(null, {css: “dhx_widget–bg_gray”});
dwcmenu.data.load("…");
dataview1.events.on(“ContextMenu”, function(id, e){
e.preventDefault();
dwcmenu.showAt(e);
e.stopPropagation();
});

what are we wrong?


#2

The problem is confirmed. For now the only solution is to change the z-index for your context menu.