Hi There. I got the same issue. But haven't found a way to fix this. I would rather prefere to be able to select only leaf node.
On 11 août, 13:10, tom <[email protected]> wrote: > Hi, > > thanks for the link, but I think the example is a different case. In > the example tree, they apply the selectionModel only for the 'Song' > layer, which never contains anything but leaf nodes. > > In my case, there's layers with both leaf- and subtree nodes. Like in > a filesystem tree, where there's both files and subdirectories on the > same level. > > When simply applying a SingleSelectionModel to any kind of node, I get > weird behaviour upon selection (multiple tree nodes get selected, each > on every expanded tree layer). > > On 11 Aug., 09:47, Peter Nøbbe <[email protected]> wrote: > > > > > > > > > Hi mate... > > > Take a look on this.. > > >http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/user/javadoc/com... > > > This will help you get to the leafs en a mulit layed tree. > > > Basicly what you need to do is just create a selection model and parse it > > into the node... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
