Fired when the swim lane moving is finished (the swim lane is dropped at the target position) but before the swim lane is actually moved. You have a chance to cancel the moving here.
DayPilot.Kanban.onSwimlaneMove(args);
The source data object is accessible as args.swimlane.data.
<div id="dp"></div>
<script type="text/javascript">
var dp = new DayPilot.Kanban("dp");
// ...
dp.swimlaneMoveHandling = "Update";
dp.onSwimlaneMove = function(args) {
if (!confirm("Do you really want to move this swimlane?")) {
args.preventDefault();
}
};
dp.init();
</script>