You are using an old version of gwtquery. Download the last stable version of GwtQuery compatible with the gwt version you are using : http://code.google.com/p/gwtquery/wiki/Downloads The last version of the draggable plugin : http://code.google.com/p/gwtquery-plugins/downloads/detail?name=draggable-plugin-1.0.4.jar The last version of the droppable plugin compliant with the gwt version you are using : - for gwt 2.2 : http://code.google.com/p/gwtquery-plugins/downloads/detail?name=droppable-plugin-1.0.5.jar - for gwt 2.3 : http://code.google.com/p/gwtquery-plugins/downloads/detail?name=droppable-plugin-1.0.6.jar
Put these 3 jars in your classpath and it's should work. Julien On May 31, 12:44 pm, Jee <[email protected]> wrote: > Thanks. > I tried to implement you given example in eclipse Helios. > But i got errors in SortableCellDragAndDropHandler Class > Please guide to solve problems > > 1.$(draggedCell).css(CSS.DISPLAY.with(Display.NONE)); --- The method > with(Style.Display) is undefined for the type DisplayProperty > > 2.$(draggedCell).css(CSS.DISPLAY.with(Display.BLOCK)); ---- The > method with(Style.Display) is undefined for the type DisplayProperty > > 3.allCells.isEmpty() --- The method isEmpty() is undefined for the > type GQuery > > public void onDragStart(DragStartEvent event) { > Element draggedCell = event.getDraggable(); > $(draggedCell).css(CSS.DISPLAY.with(Display.NONE)); > } > > public void onDragStop(DragStopEvent event) { > Element draggedCell = event.getDraggable(); > $(draggedCell).css(CSS.DISPLAY.with(Display.BLOCK)); > > } > > if (allCells.isEmpty()) { > // no cells, the placeholder should just be added in the begin > of the cell > // list > return null; > } > > Thanks > Jee > > On May 30, 2:18 pm, Julien Dramaix <[email protected]> wrote: > > > > > Yes you can... > > I wrote an example on how to use gwtquery drag-and-drop plugin for > > implementing re-ordering in CellList : > > > Example > > :http://julien-labs.googlecode.com/svn-history/r7/trunk/sortablecellwi... > > > Java code > > :http://code.google.com/p/julien-labs/source/browse/trunk/sortablecell... > > > The code is documented and easy to understand. If I found time, I will > > write an article about how to implement reordering in CellWidget... > > > Julien > > > On Mon, May 30, 2011 at 8:38 AM, Jee <[email protected]> wrote: > > > Can we re-order CellList .. using DND. If we have 5 items in the > > > CellList, can we move 2nd item to 5th Item in the same CellList. > > > > Thanks > > > Jee > > > > On May 29, 1:03 am, Julien Dramaix <[email protected]> wrote: > > >> Could you explain more what you are looking for ? What do you mean by > > >> "within CellList" ? > > > >> On May 28, 2:11 pm, Jee <[email protected]> wrote: > > > >> > Hi Julien, > > > >> > thanks. > > >> > Its great to see your reply. CellList is supporting drag and drop. > > >> > but i am looking within CellList whether drag and drop is supporting > > >> > or not. > > >> > I tried to get about it, but i still failed. > > >> > Please suggest on this. > > > >> > Thanks > > >> > Jee > > > >> > On May 27, 6:47 pm, Julien Dramaix <[email protected]> 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/Conta... > > >> > > Documentation > > >> > > :http://code.google.com/p/gwtquery-plugins/wiki/DragAndDropPluginForGW... > > > >> > > Julien > > > >> > > On May 27, 10:42 am, Jee <[email protected]> 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 [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted > > > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
