• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic Tree using GWT

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to build a dynamic tree using GWT. Any code examples, that you refer would be much appreciated.

E.g. of what I am trying to build

Root
|
Level 1
|
Level 1.1
|
Level 2
|
Level 2.1
Level 2.2

and so on..
 
karthik shivkumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Maneesh.. But, I wasn't able to use the addTreeListener method.. Since it says the method is deprecated..
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the API docs

Deprecated.
Use addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler),
addOpenHandler(com.google.gwt.event.logical.shared.OpenHandler),
and addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler) instead

 
reply
    Bookmark Topic Watch Topic
  • New Topic