I want to determine the position of an Item in a colum when it is released onto another. To do so, I need to know the position before and after it is dropped in the list.
How can I get the order of the items in a colum when its dragged? How can I get the previous and the next Item?
view:"kanban",
on:{
onListAfterDrop: function(context){
// position
var index = context.index;
if(context.from != context.to){
// new status
var status = context.to.config.status;
}
}
},
...