Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by A.D. on Mar 19, 2008 06:11
open dhtmlx forum
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.
Answer posted by Support on Mar 19, 2008 10:13
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);