Hi, I'm setting up a kendoDropTargetArea on a grid like this:
_setupDropTargets: function() {
var _this = this;
this.grid.tbody.kendoDropTargetArea({
group: 'allocationDetailsGroup',
filter: this.dropSelector,
drop: function(e) {
if (_this._canDrop(e)) {
return _this._doDrop(e);
} else {cancel dragging here}
}
});
return this;
}
What do I put in "cancel dragging here", so that the draggable floats back to its original position? (right now it disappears).
Tom
_setupDropTargets: function() {
var _this = this;
this.grid.tbody.kendoDropTargetArea({
group: 'allocationDetailsGroup',
filter: this.dropSelector,
drop: function(e) {
if (_this._canDrop(e)) {
return _this._doDrop(e);
} else {cancel dragging here}
}
});
return this;
}
What do I put in "cancel dragging here", so that the draggable floats back to its original position? (right now it disappears).
Tom