DHTMLX Docs & Samples Explorer

setUserData(itemId,name,value)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtree.js

set user data for target node

  • itemId - target node id
  • name - key for user data
  • value - user data value