Hm... I am trying to add one leaf to the root:

var location = new locationList.Node();
location.setName("location");
data[0].getChildren().push(location);
var treeController = new qx.data.controller.Tree(data[0], tree, "children",
"name");

As you can see, I leave the "children" property empty, but this node still
looks (has icon) like a qx.ui.tree.TreeFolder, not qx.ui.tree.TreeFile
-- 
View this message in context: 
http://n2.nabble.com/Adding-new-nodes-to-a-tree-model-tp2597428p4935523.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

Reply via email to