The onColumnMoving event lets you specify custom rules that will be applied in real time during calendar column moving.
It is fired repeatedly during drag and drop column moving, whenever the target position changes.
Available in the calendar component since version 2022.3.5381.
DayPilot.Calendar.onColumnMoving(args);