Access userdata

Hi Team,



How to access the userdata in dhtmlxtree?





value1



I want to access value1 based on item id i.e.p1



Thanks.



-Agile

It can be done using getUserData(id,name) method:

var ud = tree.getUserData(“p1”,“some1”);