-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5018005
By: tommy_weber
Hi guys,
I have already made some researches regarding databinding on a tree but found nothin. My concrete question is, if it is possible to bind data on a tree if i know that an item could have items.
Let's say we have a structure which looks like this:
Id Parent Name
1 0 World
2 1 Europe
3 1 Asia
4 1 America
5 2 Italy
6 2 Hungary
7 3 Singapore
8 3 Malaysia
9 3 India
10 4 Mexico
11 4 Canada
how can I implement the structure above in a tree with databinding now that finally itll look like this:
+ World
..+ Europe
....+ Italy
....+ Hungary
..+ Asia
....+ Singapore
....+ Malaysia
....+ India
..+ America
....+ Mexico
....+ Canada
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5022711
By: zanyking
Please follow this article:
http://www.zkoss.org/smalltalks/zkTreeModel/
Asked: 2008-06-09 22:12:31 +0800
Seen: 277 times
Last updated: May 27 '16