Hi all, I moved on with virtual tree and trying to implement drag&drop for reordering the branches and leafs under one branch. I have two main cases and problems, that I would need help with:
First, I cannot even find out how many branchces my virtual tree has. I tried getChild(), getChildren(), children, or childNodes - none works. Then I thought maybe tree.getDataModel().getData() could work, but it gives me one more child then I have (counting branches+leafs). I guess it's something very easy, but... And then I would need something like addBefore() method, so I could place branch or leaf into specific part of the tree. I cannot use move() and with addBefore() I get error - addBefore() is not a function. Am I missing some pages of manual, or API documentation? Thanks, Luke -- View this message in context: http://old.nabble.com/How-can-I-reorder-branches-and-leafs-inside-virtual-tree--tp26771063p26771063.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
