Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/camohub/jquery-sortable-lists

jQuery plugin to sorting lists also the tree structures.
https://github.com/camohub/jquery-sortable-lists

Last synced: about 2 months ago
JSON representation

jQuery plugin to sorting lists also the tree structures.

Awesome Lists containing this project

README

        

jquery-sortable-lists


jQuery plugin to sorting lists also the tree structures.

```$('#myList').sortableLists( options );```

You can sort an items of html lists by mouse. Create tree structures.
Format css of all active items however you want.
You can define the
isAllowed callback which determines
if dragged item can be inserted into another. Set the
insert zone like a distance which determines if item will
be inserted inside or outside of the active area, also
insert zone plus feature,
speed of autoscroll function,
max levels number... speed of autoscroll function, max levels number...
Available is onDragStart and complete callback.


Now plugin supports also mobile devices. Link jquery-sortable-lists-mobile.js instead of jquery-sortable-lists.js.


Sortable lists also contains export functions toArray, toHierarchy, toString.


For more info look at the documentation.


Changelog is here.