Following is the jQuery code we have used in
Claymus<http://claymus-site.appspot.com/>:
$(function() {
$("#cms-BLOCKS ul, #cms-CMS_DISABLED")
.sortable({
connectWith: '.jquery-sortable'
})
.disableSelection();
});
you can replace "#cms-BLOCKS ul, #cms-CMS_DISABLED" with comma separated
list of ids of lists you want to make sortable. and every list should have *
jquery-sortable* as one of its class.
On 3 July 2010 17:15, Ahmed Shoeib <[email protected]> wrote:
> i don't want an example using mouse Events
> i mean simple easy example to make portlet to understand it .
>
> On Jul 3, 2:30 pm, Subhrajyoti Moitra <[email protected]> wrote:
> > http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/Drag...
> > from the gwt-dnd project.
> >
> > Well the simplest would be to implement your very own drag-drop, using
> > MouseDown, MOuseUp and MouseMove events.
> > In the book GWT Solutions by David Gearyhttp://
> www.coolandusefulgwt.com/IN
> > the Examples link, u can find the Drag-Drop support.
> >
> > HTH.
> >
> > Thanks,
> > Subhro.
> >
> > On Sat, Jul 3, 2010 at 1:40 PM, Ahmed Shoeib
> > <[email protected]>wrote:
> >
> > > i don't need it for tree
> > > i want it for dragging panels
> >
> > > how i can do it ????
> >
> > > On Jul 3, 11:00 am, Subhrajyoti Moitra <[email protected]> wrote:
> > > > I have used gwt-dnd for simple absolute panels. But customizing for a
> > > tree
> > > > (FastTree) is creating lot of problems. Some one who has used gwt-dnd
> > > with
> > > > FastTreem please help.
> >
> > > > Thanks,
> > > > Subhro.
> >
> > > > On Sat, Jul 3, 2010 at 1:04 PM, Prashant <[email protected]>
> wrote:
> > > > > i tried GWTDND and found it very hard to use. currently i am using
> > > jQuery
> > > > > drag-drop plugin with GWT .
> >
> > > > > On 3 July 2010 12:54, Ahmed Shoeib <[email protected]>
> > > wrote:
> >
> > > > >> Welcome my Friends
> >
> > > > >> i face a problem with drag and drop in GWT
> >
> > > > >> i want a simple example to help me to make it
> >
> > > > >> thanks .
> >
> > > > >> --
> > > > >> 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]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> >
> > > > >> .
> > > > >> 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
> > > [email protected].
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> >
> > > > > .
> > > > > 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
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> > > .
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> 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 [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.