On 4/30/10 5:57 AM, Christian Hagendorn wrote:
> Hi Greg,
>
> could you please send me a snippet, which shows the described behavior?
> I will have a look, perhaps this is a bug.
>    
Hi Chris,

I'd love to, but I'm under a deadline and need it to just work, so 
instead I am setting up the draggable/droppable on each individual tree 
folder, and that works for me.  If you have the time, just take the 
generic drag/drop code from the list controller drag/drop example and 
apply it to any tree and you'll see that original target is always a 
Tree and never a TreeFolder.

Greg
> Thanks,
> Chris
>
> Am 30.04.2010 07:23, schrieb Greg Beaver:
>    
>> Hi,
>>
>> I'm trying to do smart dragover with a hierarchical tree (each level can
>> be dragged within the level, but you can't drag a parent into the child
>> of a sibling).  In the past, I implemented this by setting
>> draggable/droppable on each of the treefolders, but this seems
>> unnecessary if one can just set it for the tree.
>>
>> However, the problem is that there doesn't seem to be any way to get
>> which folder within the tree is being hovered over, as
>> getCurrentTarget() simply returns the tree and the dragover event has no
>> coordinate information stored in it.
>>
>> Is there something I am missing, or will I need to set up
>> draggable/droppable and the listeners on each treefolder?  (Please God, no)
>>
>> Thanks,
>> Greg
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>      
>
>    


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to