0

Problem with DefaultTreeModel (Treeitem)

asked 2014-08-08 08:58:04 +0800

smartin gravatar image smartin
13 3

I'm using the DefaultTreeModel to paint a Tree structure, but DefaultTreeModel does not create treechildren in the object Tree when making a setModel (DefaultTreeModel). Anyone knows what I have to do to make my Tree has Treechildrens in structure using a DefaultTreeModel?

delete flag offensive retag edit

5 Answers

Sort by ยป oldest newest most voted
0

answered 2017-02-10 22:09:08 +0800

Wapniaczek gravatar image Wapniaczek
1
http://rentfriend.pl/zarz...

did you manage to fix it?

link publish delete flag offensive edit

Comments

I have been successfully using the DefaultTreeModel in several cases and I am not aware of a bug matching the above description. if you can share a reproducing example on http://zkfiddle.org/ I'll have a look to see what's missing. Don't forget to state the ZK version.

cor3000 ( 2017-02-15 11:04:20 +0800 )edit
-1

answered 2014-09-11 13:08:48 +0800

pestka gravatar image pestka
1
http://www.kredytomania.e...

and all its ok now ?

link publish delete flag offensive edit
-1

answered 2014-08-18 13:39:21 +0800

kopla gravatar image kopla
1
http://finanseblogowo.wor...

i had same problem.

link publish delete flag offensive edit
1

answered 2014-08-08 09:55:43 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

Maybe this fiddle can help you.

greetz chill.

link publish delete flag offensive edit

Comments

additionally please refer to the ZK Developer reference http://books.zkoss.org/wiki/ZKDeveloper'sReference/MVC/Model/Tree_Model

cor3000 ( 2014-09-11 13:34:10 +0800 )edit
-1

answered 2014-08-08 09:06:44 +0800

pisarz gravatar image pisarz
1
http://www.pasieka.org/

i have same question

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-08-08 08:58:04 +0800

Seen: 37 times

Last updated: Feb 10 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More