onXLS event for dhtmlxTreeGrid

Hi,



For a simple dhtmlTree, the “onXLS” event has a second parameter “item id” that is the row that was clicked.

For a dhtmlTreeGrid, the “onXLS” event only has one parameter which is the grid object. Is it possible to know which node of the tree has been clicked ? I need to do a special treatment with this node id.



Thanks for your help.

There is no way to get such info in case of treeGrid - the only way to fetch necessary info - source code modificaton.

dhtmlxtreegrid.js line 201
    this.loadXML(this.kidsXmlFile+""+s+“id=”+r.id);