Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by anup on Jun 23, 2008 04:04
open dhtmlx forum
dhtmlx tree

how to set userdata with Javascript Array?
Answer posted by Support on Jun 23, 2008 06:29
Userdata can contain only plain string values, you can use comma separated list instead of an array and use
    var data = tree.getUserData(id,"name").split(",")
to convert it