About 'rub out the clicking event of one specified node'

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

You should try to use onClick event:

        tree.attachEvent("onClick", function(id, id){});

Here is the tutorial about it:
docs.dhtmlx.com/doku.php?id=dhtm … nt_onclick

dear Sematic,

  it's not what i want. if i could make one specific node having one onclicking event different from others.

best regards
Allen Duan

onClick event has an id of item.
you can get it and perform the needed action, if it’s those that you need.