Friday, May 27, 2011

Re: GWT CellList Drag and Drop

GWT's mobilewebapp sample has an example of drag and drop from a CellList.  As of GWT 2.4, Cells can consume drag and drop events.

Code:

Demo:

Demo Instructions:
  1. Login to the app at the above URL
  2. Repast the URL into the address bar (login redirect is broken in the sample at the moment, so you go to a blank page)
  3. Drag one of the items from the CellList on the right into the form

Thanks,
John LaBanca
jlabanca@google.com


On Fri, May 27, 2011 at 9:47 AM, Julien Dramaix <julien.dramaix@gmail.com> wrote:
You can use the drag-and-drop plugins of gqtquery to enbale drag and
drop on any CellWidget.

Example : http://gwtquery-plugins.googlecode.com/svn/trunk/droppable/demo/ContactCellSample/ContactCellSample.html
Documentation : http://code.google.com/p/gwtquery-plugins/wiki/DragAndDropPluginForGWTDeveloppers#The_cell_widgets

Julien


On May 27, 10:42 am, Jee <sundarra...@gmail.com> wrote:
> Hi,
>
> We would like to replace the old table inside Menu to use cellList.
> However, we
>
> don't know whether GWT cellList support drag and drop or not. Drag and
> drop is
>
> supported using old table inside Menu but we have to make sure this
> feature
>
> still works in cellList before we can replace it.
>
> Thanks,
> Jee

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment