Search and Top Navigation
#7590 open feature ()
Opened August 01, 2011 02:43PM UTC
Last modified March 13, 2013 02:31AM UTC
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
Attachments (0)
Change History (7)
Changed August 01, 2011 02:52PM UTC by comment:1
type: | bug → enhancement |
---|
Changed June 26, 2012 01:22AM UTC by comment:2
type: | enhancement → feature |
---|
Changed October 11, 2012 02:55PM UTC by comment:4
milestone: | 1.9.0 → 2.0.0 |
---|
Changed October 11, 2012 05:52PM UTC by comment:5
_comment0: | 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. Sure, it's not ideal or very "clean", but it does the trick. You can check out the working example I posted in that thread. \ Good luck to you! → 1349978109069244 |
---|
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!
Changed November 05, 2012 12:38PM UTC by comment:6
status: | new → open |
---|
Consider for redesign.
Changed March 13, 2013 02:31AM UTC by comment:7
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.