Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vishwanath on Feb 19, 2008 23:02
open dhtmlx forum
Problem in integrating dhtmlxTree with dhtmlx Context Menu!!!

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...

Answer posted by Support on Feb 20, 2008 06:15
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 )