Light logo Small logo
Dark logo Small logo
Light logo Small logo
Dark logo Small logo

Simple list example

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6

Shared lists

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6

Cloning

Try dragging from one list to another. The item you drag will be cloned and the clone will stay in the original list.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6

Disabling Sorting

Try sorting the list on the left. It is not possible because it has it's sort option set to false. However, you can still drag from the list on the left to the list on the right.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6

Handle With Icon

  Item 1
  Item 2
  Item 3
  Item 4
  Item 5
  Item 6

Filter

Try dragging the item with a red background. It cannot be done, because that item is filtered out using the filter option.

Item 1
Item 2
Item 3
Filtered
Item 4
Item 5

Grid Example

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Item 9
Item 10
Item 11
Item 12
Item 13
Item 14
Item 15
Item 16
Item 17
Item 18
Item 19
Item 20

Nested Sortables Example

NOTE: When using nested Sortables with animation, it is recommended that the fallbackOnBody option is set to true.
It is also always recommended that either the invertSwap option is set to true, or the swapThreshold option is lower than the default value of 1 (eg 0.65).

Item 1.1
Item 2.1
Item 2.2
Item 3.1
Item 3.2
Item 3.3
Item 3.4
Item 2.3
Item 2.4
Item 1.2
Item 1.3
Item 1.4
Item 2.1
Item 2.2
Item 2.3
Item 2.4
Item 1.5

MultiDrag

The MultiDrag plugin allows for multiple items to be dragged at a time. You can click to "select" multiple items, and then drag them as one item.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6

Swap

The Swap plugin changes the behaviour of Sortable to allow for items to be swapped with eachother rather than sorted.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
© Konrix - Coderthemes