On my GWT.create conference 
presentation<http://www.slideshare.net/RogelioFlores2/tabular-data-with-gwt>, 
I showed dnd working between two DataGrids. It supports multi-selection and 
it uses the basic native dnd events that come with GWT mentioned by Thomas. 
I've never done the same with trees, but I would think it would be very 
similar to what I showed on slide #22, which includes a link to a source 
code snippet showing the meaninful parts.


On Thursday, February 13, 2014 4:31:07 AM UTC-5, Thomas Broyer wrote:
>
> GWT supports the native drag and drop events in browsers where they are 
> supported<http://www.gwtproject.org/javadoc/latest/com/google/gwt/event/dom/client/DragDropEventBase.html#isSupported()>.
>  
> This is rather low-level though.
> I think there are things in GwtQuery that enhance some GWT widgets with 
> drag-and-drop, if you need something higher-level. I don't use GwtQuery 
> though, so I might be wrong.
>
> To answer you second question, gwt-dnd is not a wrapper, it's "pure GWT"; 
> implementing (AFAIK) drag and drop using mousedown/mousemove/mouseup events.
>
> On Thursday, February 13, 2014 9:42:05 AM UTC+1, Malik Farhan wrote:
>>
>> Is there native Drag n Drop support in GWT because I couldn't find any in 
>> showcase.
>> If not then is there any Drag n drop support (drang n drop with 
>> multi-select between 2 trees) which is written by extending pure GWT.
>> I found gwt-dnd but i dont know if its a jS wrapper or a pure GWT 
>> extension.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to