Announcement

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

    IPickTreeItem doesn't update in latest nightly

    I'm using the 04/25 nightly build of 4.0d Power Edition. The IPickTreeItem doesn't seem to update it's display value when the value changes. I've used the sample code from the showcase:

    http://www.smartclient.com/smartgwt/showcase/#picktree_combobox_category

    Code:
    		     final TreeNode departmentRoot =  
    		            new DepertmentTreeNode("root",  
    		                    new DepertmentTreeNode("Marketing",  
    		                            new DepertmentTreeNode("Advertising"),  
    		                            new DepertmentTreeNode("Community Relations")),  
    		                    new DepertmentTreeNode("Sales",  
    		                            new DepertmentTreeNode("Channel Sales"),  
    		                            new DepertmentTreeNode("Direct Sales")),  
    		                    new DepertmentTreeNode("Manufacturing",  
    		                            new DepertmentTreeNode("Design"),  
    		                            new DepertmentTreeNode("Development"),  
    		                            new DepertmentTreeNode("QA")),  
    		                    new DepertmentTreeNode("Services",  
    		                            new DepertmentTreeNode("Support"),  
    		                            new DepertmentTreeNode("Consulting")));  
    		   
            final DynamicForm form = new DynamicForm();  
            form.setWidth(300);  
      
            Tree tree = new Tree();  
            tree.setRoot(departmentRoot);  
      
            IPickTreeItem departmentItem = new IPickTreeItem();  
            departmentItem.setTitle("Department");  
            departmentItem.setValueField("name");  
            departmentItem.setValueTree(tree);  
      
        
            form.setItems(departmentItem);  
              
            form.draw();
    No matter which value I choose - I still get the empty message: "Choose a value".

    thanks,
    dan

    #2
    We've made a change to address this. Please try the next nightly build dated April 30 or above

    Thanks
    Isomorphic Software

    Comment

    Working...
    X