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 <[EMAIL PROTECTED]>
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 :: [EMAIL PROTECTED]

Reply via email to