I've been looking at building a draggable, sortable list in javascript using knockout, and I've found several strictly javacript based implementations that can handle the task, but I haven't been able to get any knockout bindings working for them.
I've taken a look at Knockout Sortable, and even this question seemed to address a similar request, but it just doesn't seem to quite handle what I'm after.
I'm looking for something that behaves more similar to this nested sortable plugin that works with knockout.
Essentially my object structure looks similar to the following:
public class MenuItem {
public int Id { get; set; }
public string Name { get; set }
public MenuItem Children { get; set; }
}
Each menu item can contain any number of other menu items as children, and those children can have children, and so on and so forth.
I'm trying to figure out a way to recursively create these lists and to read them back so that I'm able to make something work.
Has anyone tried something similar, or is there already some bindings out there?