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. To implement D&D within the current TreeVirtual is somewhat
> painful, and the code has to be patched in order for it to work at all (see
> below).
>
> But first, for the good part, it works (more or less): You can find a demo
> here:
>

Nice! This has been a much-requested feature.

>
> The widget code can be looked at here:
>
> http://tinyurl.com/323ow8s
>

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.

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.

Derrell
------------------------------------------------------------------------------
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