Yes but i need to dynamically change this when i click a button. So i
can't do that because it is already made sortable.

On Oct 2, 3:49 pm, ajpiano <[EMAIL PROTECTED]> wrote:
> did you do
>
> $(ul).sortable({cancel:".foo"});
>
> or
>
> ul.sortable({cancel:".foo"});
>
> ?
>
> On Oct 2, 1:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi, i'm using .sortable() on 2 connected lists. I need to dynamically
> > set/unset items that are sortables. How can i archieve this ?
>
> > I tried:
>
> > return false on start callback.
> > .draggable("disable") on the items
> > doing ul.sortable({ cancel : '.theitemsclass'}) (gives error)
> > .data to change "options"
>
> > Is there anyway i can modify the options which i first used ?
>
> > Please i can't think of a solution to this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to