Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    My Tree Won't show

    I have a problem with a Tree that won't show:

    Code:
    public Tree getAllUsers(Tree userTree) {
    		List<String> busName = mockUserService.getAllUsers();
    
    		for (String s : busName) {
    			TreeNode nameNode = new TreeNode(s);
    			userTree.add(nameNode, rootNode);
    			
    		}
    		return userTree;
    }
    When the tree is returned it is added to a TreeGrid correctly.
    Can anyone help a newbie out?

    #2
    Not enough info, best to start with a showcase example, then start adding your own information to the tree.

    Comment

    Working...
    X