Contextmenu on Grid doesn't show

Hi,



As the title says, I have problems trying to let a contextmenu show.

If I try this:

BestandenContext = BestandenLayout.cells(“b”).attachMenu();

BestandenContext.setIconsPath(“dhtmlx/dhtmlxMenu/icons/”);

BestandenContext.loadXML(“xml/bestanden/dhxmenu.xml”);



…then the menu shows as intended, so the XML is OK, right? But when I try this:

BestandenContext = new dhtmlXMenuObject(null, “standard”);

BestandenContext.setIconsPath(“dhtmlx/dhtmlxMenu/icons/”);

BestandenContext.renderAsContextMenu();

BestandenContext.loadXML(“xml/bestanden/dhxmenu.xml”);

BestandenGrid.enableContextMenu(BestandenContext);

…and I do a right-click on the grid, nothing happens (not even the context-menu from the browser is shown, so that is blocked succesfully).



What am I doing wrong?

Unfortunately we cannot reproduce this issue locally. Please find example here support@dhtmlx.com)