hi all,
i have a problem. i checked on Internet long time. still havent figure it out.i need ur help.
at the beginning i specifized the clicking event method as below:
tree2=new dhtmlXTreeObject("treeboxbox_tree2","100%","100%",0);
tree2.setImagePath("js/xhtmltree/imgs/");
tree2.setXMLAutoLoading("tree4.xml");
tree2.setOnClickHandler(addChild); //specifying clicking event method
the ‘setOnClickHandler’ method sets the identical clicking event method on the every node. i now i want to rub out or change the clicking event on the one specified node.
how can i make it out.
or is there an api like:
tree.setOnClickHandler(itemId, func)
thank you very much
best regards
Allen Duan