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, Dayananda B V <dayanand...@gmail.com> wrote: > HI all, > > How I can select corresponding a treeitem on click of + icon on the > tree. > appreciate your help. > > Thanks > Daya -- 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-toolkit@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.