ackerchez
05-03-2009, 07:29 AM
Hi All,
I have a scenario where I have to drag a node from one tree to another. Both trees are driven by XML and they display great. Once the drag is complete I need to isolate the data that was dragged and send it back to php so that I can update the database with the information that was added.
Here is my issue.
When I set the method to fire on the DragDropEvent, it almost seems like that event is firing before the actual drop happens. I can access the two trees when I debug, but the actual data driving the droptarget tree does not seem to be updated yet when the event fires and I am not able to reference the data that I dropped.
I also see that there is a property in the event called "draggedItem" but that is always coming up as null when the event fires.
Does anyone know of a solution to this?
Thanks!
I have a scenario where I have to drag a node from one tree to another. Both trees are driven by XML and they display great. Once the drag is complete I need to isolate the data that was dragged and send it back to php so that I can update the database with the information that was added.
Here is my issue.
When I set the method to fire on the DragDropEvent, it almost seems like that event is firing before the actual drop happens. I can access the two trees when I debug, but the actual data driving the droptarget tree does not seem to be updated yet when the event fires and I am not able to reference the data that I dropped.
I also see that there is a property in the event called "draggedItem" but that is always coming up as null when the event fires.
Does anyone know of a solution to this?
Thanks!