Hi All,
I could not able to integrate dhtmlxTree with contextMenu, its giving the error, below i placed the error message along with the code
aMenu=new dhtmlXContextMenuObject(‘120’,0,"…/codebase/imgs/");
aMenu.menu.loadXML("_context.xml");
tree=new dhtmlXTreeObject(“treeboxbox_tree”,“100%”,“100%”,0);
tree.setImagePath("…/codebase/imgs/csh_vistablue/");
tree.enableDragAndDrop(true);
tree.enableContextMenu(aMenu);
tree.loadXML(“tree.xml”);
Error: Object doesn’t support this property or method
Please help me in solving it…
a) please be sure that all necessary js files included in project
b) enableContextMenu available only in PRO version of dhtmlxtree ( in standard version you can use onRightClick event for similar purpose )