: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Drag and Drop question
If you don't define a dataprovider, an ArrayCollection will be used. In
your case you want an XMLListCollection so you should initialize the
second tree to have one.
Sent: Thursday, May 01, 2008 9:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Drag and Drop question
So here is a example to what i'm talking about.
someone can tell me why:
1 - First test
on this example if i drag an item from a branch(NOT the WHOLE BRANCH)
from tree1 a
So here is a example to what i'm talking about.
someone can tell me why:
1 - First test
on this example if i drag an item from a branch(NOT the WHOLE BRANCH)
from tree1 and drop to tree2, and than click on "get elements from
tree 2" button. it shows nothing... and if you keep adding elements it
w
The thing is ... if the dataprovider is blank and i drop some element
there, i'm not able to retrieve it.
For instance i create a tree 1 and i set the dataprovider
and create a second tree without any dataprovider.
At the moment i drop an element to the second tree i even though it
show th
: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Drag and Drop question
Yes it does...
I found a solution. I used "callLater" and apparently it works now.
I couldn't understand callLater before but it is a function that it's
saving my life a lot lately! :P
Now the questio
Yes it does...
I found a solution. I used "callLater" and apparently it works now.
I couldn't understand callLater before but it is a function that it's
saving my life a lot lately! :P
Now the question i have is there is anyway to get the XML from the
tree without getting from the dataprovider?
The answer should be to wait for dragComplete on the source tree.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Thursday, May 01, 2008 5:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Drag and
Does it disappear from the first tree (i mean visually)?
On Fri, May 2, 2008 at 9:57 AM, Rafael Faria <[EMAIL PROTECTED]>
wrote:
> That's nice that everybody is learning from my question :p
>
> I'm hereee o/ ehheheh
>
> someone can help me? :0
>
> i still don't know how to get an updated tree a
That's nice that everybody is learning from my question :p
I'm hereee o/ ehheheh
someone can help me? :0
i still don't know how to get an updated tree after i move the node...
or there is any easy way to remove a node from an xml?!
thanks
rafael
--- In flexcoders@yahoogroups.com, "Josh McDona
It makes sense to me that you would. Drag and drop is a visual operation,
not a data operation, and in no way does it always mean that you're removing
something from the first list. For an example think of the "components"
palette in Builder. There might be some way to enable the sort of automatic
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?!
Thank
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" <[EMAIL PROTECTED]> wrote:
>
> I'm fairly certain that there's no voodoo to
12 matches
Mail list logo