Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by fabs on Sep 29, 2008 06:41
open dhtmlx forum
dhtmlxtree with contextmenu

Hi,
I'm using dhtmlxtree pro and want to implemnet a context menu
problem is, it only shows in background and only text
i also tried ctxtMenu.menu.setZIndex(999); // or some other big value
according to this site but this does not help

the menu looks like this:

aMenu=new dhtmlXContextMenuObject('120',0,""imgs/path/");

aMenu.menu.tableCSS="menuTable";
var item = new dhtmlXMenuItemObject("delete","delete","","imgs/path/some.gif","contextMenu");

aMenu.menu.addItem(aMenu.menu,item);
item = new dhtmlXMenuItemObject("insert","insert","","imgs/path/some2.gif","contextMenu");



aMenu.menu.addItem(aMenu.menu,item);
Answer posted by Support on Sep 30, 2008 08:35
>>, it only shows in background and only text
Please be sure that you have included next css file 
    dhtmlxmenu/codebase/dhtmlxmenu.css