Hello Alexander, I'm note really surprised that it does not work after taking a look at your code. Let me explain why:
You are mixing things up here a bit. The nodes you store in your treeData array are customTreeNode's. You pass these custom tree nodes to the controller as model. So the controller takes the data (and only the data) out of these objects and thats it. It is not using these objects as TreeFolders in the tree (visually) because it creates new widgets. It doesn't know that it should use these objects. tree.getRoot().getChildren()[0].setOpen(true); gets you the TreeFolder shown visually which then is opened as expected. So subclassing the TreeFolder with your model is not really necessary. Subclassing qx.core.Object should be enough. Regards, Martin -- View this message in context: http://qooxdoo.678.n2.nabble.com/Set-open-property-of-tree-item-tp5029363p5034596.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
