Skip to content

vafour/select2-sortable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

select2-sortable

A little plugin that will make select2 multiple select become sortable out of the box.

Usage:

// init select2 sortable
$(select2multiselect).select2Sortable();

// destroy select2 sortable
$(select2multiselect).select2Sortable('destroy');

// manually trigger the sorting
$(select2multiselect).select2SortableOrder();

// custom options
$(select2multiselect).select2Sortable({
	bindOrder: 'formSubmit' // or `sortableStop`,
	sortableOptions: {
		// please refer to jQuery UI sortable API (http://api.jqueryui.com/sortable/)
	}
});

Contributors:

About

Little plugin to make select2 (https://github.com/ivaynberg/select2) multiple select become sortable out of the box.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published