I’ve loaded a tree using xml including the 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 tags through script?
thank you
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”)