Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yves on Mar 31, 2008 23:59
open dhtmlx forum
DHTMLXTree: How to get the liist of userdata of a given node

Is there any such method in the API?

In my tree, nodes have different kind of userdata associated to them and it is seems rather unwise to me to proceed by testing all the possible userdata names each time I need to do something with a particular given node;


Regards
Answer posted by Support on Apr 01, 2008 08:45
There is no legal way to obtain such info, but if you have not problems with using undocumented functionality, the next code will return required result

    tree._idpull[ID]._userdatalist

where ID - id of tree element