thanks for replay, it won't help, when i click tree + icon, there is no selection event fires, is there any alternative way for this. appriciate your help.
On Apr 18, 9:42 am, Lakshminarayana Golla <[email protected]> wrote: > HI.. > Try this.. > > MainTree.addSelectionHandler(new SelectionHandler<TreeItem>() { > @Override > public void onSelection(SelectionEvent<TreeItem> > event) { > TreeItem item = (TreeItem) > event.getSelectedItem(); > System.out.println(item.getText()); > //Do something.... > } > }); > > On Apr 17, 3:16 pm,DayanandaB V <[email protected]> wrote: > > > > > HI all, > > > How I can select corresponding a treeitem on click of + icon on the > > tree. > > appreciate your help. > > > Thanks > > Daya- Hide quoted text - > > - Show quoted text - -- 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.
