Hello Ludovit,
As you said, gwtquery supports dnd cell to cell. Is there any plan in
GWT to manage it in native ? if so, on which version ?
Thanks,
Haja
On 25 fév, 12:55, Martones <
ludovit.marton...@gmail.com> wrote:
> Hi Stagirus, if you dont need to drag Widgets you shall be
> theoretically able to drag / dragOver / drop any widget.
>
> For that, use widget.addDomHandler (as explained herehttp://
static.googleusercontent.com/external_content/untrusted_dlcp/w...)
>
> But if you need to drag the widget itself you need to usedndor
> gwtquery. The latter has support for cells which I didnt manage to get
> working with the nativednd.
>
> Ludovit
>
> On 20 jan, 17:15, stagirus <
mohanam...@gmail.com> wrote:
>
>
>
> > Thank you Thomas. I will try your suggestion of AbsolutePanel within a
> > FocusPanel. I suppose the container FocusPanel receives thedrop
> > (mouse) events that actually occur within the child AbsolutePanel.
>
> > I am also intrigued by your comment on gwt-dnd. It does look promising
> > for our requirements. Thanks to Allen Sauer. I got the impression that
> > GWT 2.4 is natively trying to support the same functionality offered
> > by gwt-dnd. I noticed Allen Sauer joined Google'sDNDteam/project.
> > (What is your plan Allen?)
>
> > Again, thank you Thomas for your helpful reply!
>
> > On Jan 20, 3:03 am, Thomas Broyer <
t.bro...@gmail.com> wrote:
>
> > > Er, put an AbsolutePanel in a FocusPanel, and add a DropHandler on the
> > > FocusPanel to handle thedrop(and do whatever you want with the wrapped
> > > AbsolutePanel)?
>
> > > Note that GWT's support forDnDis via the native browser API/events, so
> > > If you want todraganddropwidgets, you can use gwt-dndinstead (much
> > > lighter weight than SmartGWT)