Ich kann mit

tree.getChildren()[i].getChildren()[j].getLabel();

Das Label eines Treeeintrages abfragen, aber wie den "Content?

Ich habe shcon das hier versucht

tree.getChildren()[i].getChildren()[j].getChildrenContainer().getValue();
tree.getChildren()[i].getChildren()[j].getContainerElement().getValue();
tree.getChildren()[i].getChildren()[j].getContentElement().getValue();

Die Werte füge ich mit dieser Funktion ein:


             configureTreeItem : function(treeItem, label, wert){
                 if (treeItem instanceof qx.ui.tree.TreeFolder) {
                     treeItem.addOpenButton();
                     }

                 // The label
                 treeItem.addLabel(label);

                 // All else should be right justified
                 treeItem.addWidget(new qx.ui.core.Spacer(), {flex: 1});

                 var text = new qx.ui.basic.Label(wert);
                 text.setWidth(150);
                 text.setTextAlign("right");
                 treeItem.addWidget(text);
                 treeItem.setIcon("");

                 return treeItem;
                 },

Was mach ich falsch?

Danke.


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to