jquery-sortable
jquery-sortable copied to clipboard
A flexible, opinionated sorting plugin for jQuery
Hello, Is it possible to use it in conjunction with JQuery UI Sortable?
couldn't find it in the code, only .haml and .sass files.
 Thank you
I noticed that draggable elements only can be put at the bottom of the list. This started when upgrading to jquery 3.3.1. Is there an update I can download or...
Have been working to handle an edge case where dropping an item fails. I am processing a request on the server side using `onDrop` and if the server throws an...
完美~!!
so perfect~!帮了我一个大忙!
Fix touch support. In case we are dragging something clickable, preventDefault on drag, not on mousedown/touchstart.
I embedded a multiple select and it was firing an option and not a select, thought I would add this here to fix that.
Fiddle: [https://jsfiddle.net/bturner1273/frgnw4cj](https://jsfiddle.net/bturner1273/frgnw4cj) In my code I end up have to do: ` console.log(group.sortable('serialize').get(0).filter(i => i['id'] !== undefined).map(i => i.id));` instead of: ` console.log(group.sortable('toArray', {attribute: 'data-id'}));` output of group.sortable('toArray', {attribute: 'data-id'}):...
The default function is incomplete ```js function ($parent, $children, parentIsContainer) { var result = $.extend({}, $parent.data()) if(parentIsContainer) return [$children] else if ($children[0]){ result.children = $children } ```