| Author |
Dynamic Tree using GWT
|
karthik shivkumar
Greenhorn
Joined: Oct 02, 2006
Posts: 6
|
|
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..
|
Skay
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8568
|
|
|
Check out http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwTree.java?r=2610
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
karthik shivkumar
Greenhorn
Joined: Oct 02, 2006
Posts: 6
|
|
|
Thanks Maneesh.. But, I wasn't able to use the addTreeListener method.. Since it says the method is deprecated..
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8568
|
|
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
|
 |
 |
|
|
subject: Dynamic Tree using GWT
|
|
|