Hi, the root node doesn't have an open/close button by default, use tree.setRootOpenClose(true) to show it.
The child nodes' buttons should be displayed automatically. Pasting your code in the Playground, I could open the root node by double clicking and saw the buttons on the child nodes. Regards, Daniel f...@mail.dnttm.ro schrieb: > Hi. Me again. > > I have a tree. It is rendered using code like this: > > var tree = new qx.ui.tree.Tree(); > var root = new qx.ui.tree.TreeFolder("root"); > tree.setRoot(root); > > var group = new qx.ui.tree.TreeFolder("group 1"); > root.add(group); > > var file = new qx.ui.tree.TreeFile("file 1.1"); > group.add(file); > file = new qx.ui.tree.TreeFile("file 1.2"); > group.add(file); > > group = new qx.ui.tree.TreeFolder("group 2"); > root.add(group); > > file = new qx.ui.tree.TreeFile("file 2.1"); > group.add(file); > file = new qx.ui.tree.TreeFile("file 2.2"); > group.add(file); > > Everything renders just fine. I am even able to attach event handlers to the > nodes. Only, I can find no way to display the expand/collapse symbol. By > looking at the code in the demo I came to the conclusion that the symbols > should be displayed by default, but they don't. I played with openSymbolMode, > openMode etc., with no success. I did a generate source-all, since I supposed > the picture resource was somehow not available, but without any result. What > am I doing wrong? > > flj > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel