Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Max on Feb 18, 2008 01:34
open dhtmlx forum
Insert image or object into tree userdata

using tree.setUserData(id, name, value) ,

is it possible to insert an object, rather than a text value ?
Answer posted by Support on Feb 18, 2008 09:01
While executing command by JS API any type of object can be stored in userdata, but while loading userdata from XML or serialization back to XML - userdata will be threated as string. (  if object was stored , its toString method will be used  )