Menu

#712 Treeitem setOpen doesn't load children

closed
nobody
None
5
2007-11-27
2007-11-08
No

To reproduce this bug simply take the TreeModelDemo and replace the last line of the render method of PersonTreeitemRenderer:

item.setOpen(false);

with

item.setOpen(true);

the tree is loaded incorrectly, the items seems to be open (they have the "-" image) but children are not loaded.
To open them you have to close it (the icon becomes "+") and then reopen.

Bye

Discussion

  • jebberwocky

    jebberwocky - 2007-11-23

    Logged In: YES
    user_id=1822638
    Originator: NO

    To solve this issue, please refer to
    http://en.wikibooks.org/wiki/ZK/How-Tos#Open_treeitem_at_start

     
  • jebberwocky

    jebberwocky - 2007-11-27
    • status: open --> closed
     

Log in to post a comment.