Can you make the the node a parent with node children? A leaf node isn't the same as a parent with no children. A leaf node never has children, whereas a non-leaf node might just be empty.
If you really want to change the node state from leaf to non-leaf, you have to force CellBrowser to reload the NodeInfo from the TreeViewModel. You can do this by closing and reopening the new using the TreeNode API. Call CellBrowser.getRootTreeNode() to get the root node. Thanks, John LaBanca jlaba...@google.com On Sat, Dec 11, 2010 at 9:32 AM, Noor <baken...@gmail.com> wrote: > > I made an error above > > Therefore the problem I am getting it that whenever I add a children > to a leaf to make it a parent, I DOES NOT see the change on the spot. > I > need to click on another item and then return back to see the change > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.