returns any user data set into the given input by the setUserData method
var type = myTreeView.getUserData(id, "type");