Thank you for your answer! I am allready using the TreeListener, but now I have to check (at submit time) what nodes in some trees are selected. I don't think that I have to implement a listener, store the selected node for every tree manually. I think that more people will have the same need and that there is a better solutoin.... or am I wrong?
Regards, Anton Roundcrisis schrieb: > if you add a TreeListener to the tere you get the node on click > not sure if this suits you tho > if you give more info (ideally code) about your scenario we might help > you more > > Cheers > > > Andrea > > > > On Sat, Aug 15, 2009 at 6:28 AM, Anton Trapp > <[email protected] > <mailto:[email protected]>> wrote: > > > Hi! > > Is it possible to get the selected node of a tree in any useful > way? The > only thing I found was: > > * get the whole tree (no matter if the TreePanel loads async) > to the > client > * store all nodes on the client > * build the tree > * get the SelectionModel > * go through the whole bunch of nodes and compare every single one > with the selectionModel function to see if it is selected > > I am sure, that this is not the way I am supposed to get the selected > node, so if anybody can provide me with a short hint or link to an > example... > > Thank you very much! > > Regards, > Anton > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" 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/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
