On Mon, Jan 4, 2010 at 05:52, <i...@saksys.de> wrote: > > Hi Derrell, > > i did like you told and it works, the both trees are separated from each > other, but my problem is, that the branch i selected in treeA is still > pseudo selected in treeB and cant be changed. I attached a gif to show you > what i ment. >
Right. You'll also need to set the bSelected field of each formerly-selected node to false. You can probably do that reasonably efficiently after doing the deep copy using code similar to this: var selectedNodes = treeA.getSelectedNodes(); for (var i = 0; i < selectedNodes.length; i++) { treeB.setState(selectedNodes[i].nodeId, { bSelected : false }); } Derrell
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel