If im moving the object i would assume it will not be in the tree 1
anymore...

anyone would help me how do i drag from tree 1, drop on tree 2 and
after i drop i get the elements on tree 1 without the one i just
dropped on tree 2?

should this be that painfull? do i have to delete manually?!

Thanks

--- In flexcoders@yahoogroups.com, "Rafael Faria"
<[EMAIL PROTECTED]> wrote:
>
> I wouldn't say "voodoo" but if you drag an item from tree 1 to tree 2
> the dataprovider should not contain the item you've dragged to the
> other tree... am i wrong?
> 
> rafael
> 
> 
> --- In flexcoders@yahoogroups.com, "Josh McDonald" <dznuts@> wrote:
> >
> > I'm fairly certain that there's no voodoo to automatically delete
> nodes from
> > your XML, you need to do that yourself in your drop handler.
> > 
> > -J
> > 
> > On Thu, May 1, 2008 at 4:36 PM, Rafael Faria <rafaelfaria.grupos@>
> > wrote:
> > 
> > >   If i'm dragging an element from one tree to another. How do i
> get the
> > > updated xml of the tree i'm dragging off?
> > >
> > > For instance
> > >
> > > TREE 1
> > > - Element 1
> > > - Element 2
> > >
> > > TREE 2
> > >
> > > if i get the xml from tree 1 it would be something like
> > > <root>
> > > <element label="Element 1" />
> > > <element label="Element 2" />
> > > </root>
> > >
> > > but if i drag the Element 1 into the TREE 2 i want to get the xml
> > > without the "Element 1", without that node.
> > >
> > > i'm trying to get it creating a handler for "dragDrop" attribute on
> > > the Tree 2, but everytime i get it the items are not updated.
> > >
> > > Anyone know how to get the updated xml that tree 1 will have after i
> > > drop the element?
> > >
> > > Please... this is killing me =/
> > >
> > > Thanks
> > >
> > >  
> > >
> > 
> > 
> > 
> > -- 
> > "Therefore, send not to know For whom the bell tolls. It tolls for
> thee."
> > 
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: josh@
> >
>


Reply via email to