Hi, I decided to give the source/class/ep/ui/TreeView a whirl today ...
my goal is to implemement a virtual tree, which fetches its branches live from the backend as the user clicks on a branch which has not been loaded yet. I thought I could do it by listening to var control = new qx.ui.tree.VirtualTree(null,'name','kids').set({ openMode: 'click' }); var treeModel = qx.data.marshal.Json.createModel({ name: 'root', kids: [ { name: 'k1', }, { name: 'k2', } ] },true); control.setModel(treeModel); control.addListener("changeSelection",function(e){ window.alert(e.getData()); // add some new kids to the // selected node }); unfortunately I do not even get a changeSelection event ... how would you do this ? cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel