Derrell Lipman wrote:
> 
> On Sun, Jun 13, 2010 at 11:21, panyasan <[email protected]> wrote:
> 
>> Pressed by my users who missed the D&D they got used to in the 0.7
>> version
>> of my app, I finally decided to revisit the issue and reworked saaj's
>> code
>> for my needs. 
> 
> Nice! This has been a much-requested feature.
> 

I always wondered why there was not business demand (and third-party
sponsored implementation) of this feature - for me it looks like one of the
must-have functionalities that a tree widget should have, if you're trying
to bring desktop-apps to the web. I am sure the current implementation can
still be optimized (internally, it is still a mix of my old code,
improvements by saaj, and the new d&d API).


Derrell Lipman wrote:
> 
> Yuck. The patches required of TreeVirtual and Table are *fugly*!  Some of
> the patches appear unnecessary, like patching Scroller,  where there are
> already nice provided means to do that sort of thing. In this case, you
> can
> provide a function in the 'custom' parameter that instantiates your own
> subclass of scroller instead of qx.ui.table.pane.Scrolller, to provide
> those
> additional methods. Are you aware, though, that there can be multiple
> scrollers in a single table? Each metacolumn gets its own scroller.
> 

Unfortunately, I don't understand the internals of Table and TreeVirtual
very well - I have always relied on code snippets that I didn't fully grasp,
which didn't matter since it worked after all. I don't know if saaj is still
on the list, who introduced these patches - but since the patches are very
small, couldn't you just integrate at least the getter for the private
properties - this would save us from having to provide custom models to do
just that. 


Derrell Lipman wrote:
> 
> The patching of _onMouseMove looks like something the core team will want
> to
> address, since it indicates that the method is not properly handling what
> it's supposed to.
> 

Well I don't know if the problem is that the event system has a bug, or that
the event system is not written to support d&d in virtual widgets in the
first place - or at least not the way I use it here - but I'll leave that
question to people who actually know the event system - I just did trial &
error until it worked. 

Cheers,

Christian 
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Re-implemented-Drag-Drop-for-TreeVirtual-tp5174546p5182350.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to