Knockout-Sortable 1.2.0

A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality

Install-Package Knockout-Sortable -Version 1.2.0
dotnet add package Knockout-Sortable --version 1.2.0
<PackageReference Include="Knockout-Sortable" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Knockout-Sortable --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Knockout-Sortable, 1.2.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install Knockout-Sortable as a Cake Addin
#addin nuget:?package=Knockout-Sortable&version=1.2.0

// Install Knockout-Sortable as a Cake Tool
#tool nuget:?package=Knockout-Sortable&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Compatibility fixes for KO 3.5.0 and 3.5.1
- Added droppable binding
- Based on jQuery UI changes in 1.12, the require paths when consuming knockout-sortable via AMD or CommonJS now use jquery-ui/ui/widgets/sortable and jquery-ui/ui/widgets/draggable. If not using 1.12, then you would need to ensure that whatever tool you are building it with has paths properly mapped/aliased/configured.

- Don't override helper, if it is provided
- Fix for older versions of Knockout, as they don't have ko.options
- handle KO 3.4 deferred updates
- allow passing a "receive" handler on to jQuery UI sortable
- check for "valueWillMutate" and "valueHasMutated" functions before calling them (helps work with Knockout-ES5)
- remove stray console.log
-  add strategyMove option to allow moving items in the same list rather than removing and re-adding items
-  maintain width of cells within draggable rows
- update jquery UI dependencies to use jquery-ui/sortable and jquery-ui/draggable
-pass KO 3.3's nodes option on to template binding
-update module references to use jquery.ui/sortable
-ensure that draggable is destroyed when using draggable binding
-remove connectClass on sortable container when binding is disposed
-update references to use KO 3.3
0.9.3 - support CommonJS module loaders.
0.9.2 - conditionally handle nested sortables depending on version of jQuery UI
0.9.1 - fix an issue that dragged data that was falsey (0) was not being respected
0.9.0 - strip leading/trailing whitespace from named templates to prevent sortable issues; fix cancel not being called on appropriate sortable in nested scenario, use Jasmine 2 for specs
0.8.8 - alternate fix to fix from 0.8.7, where sortable operation is always cancelled so normal clean up / disposal works as normal
0.8.7 - additional ko.removeNode call to properly clean moved nodes
0.8.6 - handle binding against null. ensure that disposal works properly for newer and older jQuery UI due to change in data key
0.8.5 - strip comments/text nodes properly from anonymous templates
0.8.4- just update for bower and remove dependencies from bower
0.8.3 - fix issue with undefined being overwritten in AMD when jquery-ui-sortable module returns a value
0.8.2 - strip top-level comments/text nodes fro m anonymous templates
0.8.1 - ignore source in destroyed check for draggables
0.8.0 - allow sorting of primitives

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Knockout-Sortable:

Package Downloads
.Net Ad Hoc Report Builder and Embedded Analytics for MVC that allows programmers to easily add Report building functionality to their ASP .NET Web Application
.Net Ad hoc Reporting Tool Web Forms version that allows programmers to easily add Report building functionality to their ASP .NET Web Application

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.0 75,252 11/7/2019
1.1.0 112,985 2/20/2017
0.13.1 32,480 5/9/2016
0.13.0 613 5/9/2016
0.11.0 32,066 8/24/2015
0.10.0 25,860 3/8/2015
0.9.3 4,284 2/5/2015
0.9.2 2,545 11/26/2014
0.9.0 2,015 9/19/2014
0.8.8 1,948 7/7/2014
0.8.6 17,970 2/14/2014
0.8.3 5,570 10/1/2013
0.8.2 2,509 8/22/2013 1,814 4/11/2013
0.7.3 917 4/11/2013