allows attaching user data to a treeview without modifying the DOM
myTreeView.setUserData(id, "type", "folder");