I don't know if it helps (probably not) but I had drag & drop implemented for
the TreeVirtual widget in 0.7. It is no longer working because of the
changes to the framework in 0.8, but some concepts might be interesting:

http://qooxdoo.svn.sourceforge.net/viewvc/qooxdoo/trunk/qooxdoo/framework/source/class/qx/ui/treevirtual/MDragAndDropSupport.js?revision=15662&view=markup&pathrev=15800

Best,

Christian

phill54 wrote:
> 
> Hi Chris and everyone else who has had Drag'n'Drop problems using the tree
> object.
> 
> Me too, I've had several Problems implementing a Drag'n'Drop solution on a
> tree but I'm not happy with my solution so far. Me too, I've had problems
> with the wrong object catching the drop event (Label instead of
> TreeFolder).
> Christians Solution is the best I've seen so far but it doesn't make it
> possible to move one TreeFolder into anotherone, that hasn't any children
> yet. Also I frequently get uncaught exceptions like
> 
> "037866 qx.event.Registration.getManager(null) was called!" or "target is
> null"
> 
> The tree also crashes when trying to move a node to a sibling position of
> root. The entire browser crashed when trying to move a node within itself
> (recursive movement). I believe I'd be able to debug these two, but in the
> end I'm not too happy with the solution.
> 
> I wonder why no proper implementation of the Drag'n'Drop Tree is available
> for qooxdoo 0.8.3 ? If I overlooked something, please give me a hint.
> 
> 
> 
> Christian Schmidt Mar 24, 2009; 03:52pm wrote:
>> 
>> Hi Fritz,
>> 
>> I'm working on an example for that, but it isn't very well. I have 
>> attached my current solution.
>> 
>> Have a look into the "drag" listener, it shows how to get the correct 
>> TreeFolder for the indicator possition.
>> 
>> Cheers,
>> Chris
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Drag-drop-on-Tree-tp2501497p4057566.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to