File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Tree using GWT

 
karthik shivkumar
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic