[Seaside-dev] Using dual sortable lists to drag choices from one list to the other

PAUL DEBRUICKER pdebruic at gmail.com
Thu Sep 23 15:35:25 UTC 2021


With onUpdate: vs onStop: it seems like you're only missing out on events where the person does some sorting but doesn't change the order of the items.  Which seems entirely reasonable to skip.



https://api.jqueryui.com/sortable/#event-update


https://api.jqueryui.com/sortable/#event-stop






> On Sep 22, 2021, at 11:01 AM, tim Rowledge <tim at rowledge.org> wrote:
> 
> 
> 
>> On 2021-09-21, at 10:13 PM, Max Leske <maxleske at gmail.com> wrote:
>> 
>> Hi Tim
>> 
>> I've never used jQuery for drag and drop or sorting, so I don't know from experience. Let's see if somebody else knows more before I dive down the rabbit hole.
> 
> Very sensible. As is so often the case, my confusion could almost certainly have been much reduced by a couple of paragraphs explaining how these jquery lists actually work; as normal the doc on jqueryui.com is written as a reference - ie something that makes perfect sense as long as you already know all about the subject...
> 
> Right now using the #onUpdate: thing is working quite reliably so I'm happy. Getting some confirmation from somebody with  real knowledge would be nice.
> 
> Slightly alarmingly I notice that openjsf.org considers JQueryUI an 'emeritus project' (https://openjsf.org/projects/) which implies no development and eventually deprecation. What is the replacement? I've seen https://github.com/SortableJS/Sortable mentioned but it doesn't appear to be official in any way.
> 
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful random insult:- Several nuts over fruitcake minimum.
> 
> 
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev



More information about the seaside-dev mailing list