Opened 12 years ago
Last modified 10 years ago
#7590 open feature
Sortable: Allow the connectWith option to be updated in a start callback
Reported by: | itsmemario | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.sortable | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi, i have two connected sortable lists. One element (the element "1.3" in the example) should not be able to drag to the other list. So i disabled the connectwith option in the start-callback for this element sortable("option", "connectWith", false) but i still can drag the element to the second list.
Example: http://jsbin.com/afehod
Change History (7)
comment:1 Changed 12 years ago by
Type: | bug → enhancement |
---|
comment:2 Changed 11 years ago by
Type: | enhancement → feature |
---|
comment:4 Changed 11 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:5 Changed 11 years ago by
Hi itsmemario. I am the author of ticket #8630. I didn't find your ticket before posting mine. I just wanted to tell you that I managed to get it working with a click function outside of the sortable functionality. Sure, it's not ideal or very "clean", but it does the trick. You can check out a working example in the above ticket. Good luck to you!
comment:7 Changed 10 years ago by
Summary: | Sortable - disable the connectWith option in the start-callback → Sortable: Allow the connectWith option to be updated in a start callback |
---|
That's not a supported use case and we're not making functionality changes for interactions right now. We'll address this in the API redesign for sortable.