Here's my working code so far:
http://jsfiddle.net/fmpeyton/9a8sxw9z/
Here's the Kendo Sortable initiator:
$(".panels").kendoSortable({
filter: ".panel",
cursor: "move",
change: function () {
},
placeholder: function (element) {
return element.clone()
.css({ "opacity": 0.8, });
},
hint: function (element) {
return element.clone()
.css({ "border": "1px solid #a2a2a2" })
.height(element.height())
.width(element.width());
}
});
I'm having a few issues:
Any idea why these things might be happening? Are there any CSS changes that I could make to solve this?
The way I solved this issue is two-fold:
Sortable
widget and connecting them via the connectWith
optionmin-height
to the columns, so that you can add panels to empty columns.Big props to @OnaBai for helping to solve this. Here's a working fiddle: http://jsfiddle.net/fmpeyton/m72f5z6h/