Thanks Alan, I was about to refer to the archive but you beat me to it. http://www.mail-archive.com/[email protected]/msg117508.html And to avoid any confusion ... Yves is a male name ;-)
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Alan Rother Sent: Sunday, May 10, 2009 9:40 PM To: [email protected] Subject: Re: [flexcoders] Re: drag drop tree to tree onto node, not between nodes [1 Attachment] [Attachment(s) from Alan Rother included below] Yves Riel ([email protected]) sent this file to me when I had a similar problem some time back, it totally saved my life. If it helps, drop him(her, not sure...) an email and thank them. =] On Sun, May 10, 2009 at 6:19 PM, Mic <[email protected] <mailto:[email protected]> > wrote: Think I answered this myself - isBranch looks like it will turn the leaf into branch, which is exactly what I need to do. --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Mic" <chigwel...@...> wrote: > > Thanks Tracy - for the moment I am having to put a Peer/Child radio button group so I know what the user wants to do. Next question :-) > > New mgr is a leaf, rb set to child, rep dropped below mgr ... need to change mgr to branch with new rep as leaf. Does one manipulate the xml to do this and then invalidate something so the tree reconfigures itself, or does one manipulate the tree gui? Thanks, > > Mic. > > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <tracy@> wrote: > > > > I hope someone has a solution for this, I do not. The tree drop feedback > > lines will show above or below a child node, and will get longer to indicate > > a drop point at the level above those, but I have found no way to drop a > > first child node onto an empty node. > > > > > > > > Now, I have not researched this in the last year, so maybe someone will have > > a fix. > > > > > > > > Tracy Spratt, > > > > Lariat Services, development services available > > > > _____ > > > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > > Behalf Of Mic > > Sent: Sunday, May 10, 2009 2:08 AM > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] drag drop tree to tree onto node, not between nodes > > > > > > > > > > > > > > > > > > Will Flex recognize a drop onto a node? The visual position bar when moving > > the drop up and down the destination tree displays between nodes. When we > > first add a mgr to the HR tree, that mgr is a leaf. Want to trap a drop > > directly onto the mgr so can turn him/her into a branch and add people > > reporting to him/her. Cannot drop beneath as that would be a legal peer. > > TIA, > > > > Mic. > > > -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org

