DHTMLX Docs & Samples Explorer
Index
dhtmlxtree
API Methods
setUserData(itemId,name,value)
Required library edition:
Required library file: dhtmlxtree.js
set user data for target node
itemId - target node id
name - key for user data
value - user data value