Categories | Question details Back To List | ||
adding 'userdata' equivalent in script I've loaded a tree using xml including the <userdata> tags that I use during a 'onclick' event. I add a new node using script (tree.insertNewChild...). It works great. Is there a way to add the equivalent of the <userdata> tags through script? thank you Answer posted by Support on Jun 04, 2009 01:42 There are tree.setUserData tree.getUserData commands , which can be used to set|get userdata on the fly tree.insertNewChild(parent,new_id,.... tree.setUserData(new_id,"some_param","some_value") |