rniemeyer / knockout-sortable

A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality
MIT License
547 stars 128 forks source link

Extending nestedSortable functionality? #145

Open gdalam opened 9 years ago

gdalam commented 9 years ago

We're trying to use knockout-sortable to make a drag&drop hierarchy UI (like folder structure). While we have it working, it's incredibly clunky due to the fact that jQuery UI Sortable isn't really meant for nested hierarchy/tree structures.

We found another plugin called nestedSortable which extends jQuery UI Sortable to work better for nested lists, but it's not knockout bound.

https://github.com/ilikenwf/nestedSortable

Would it be difficult to integrate nestedSortable and knockout-sortable mainly for the purpose of a hierarchy structure?