The columnMoveSameLevelOnly property (boolean) restricts the target position to the same level during drag and drop moving of calendar columns.
Available in the calendar component since version 2022.3.5378.
false
const calendar = new DayPilot.Calendar("calendar", { columnMoveHandling: "Update", columnMoveSameLevelOnly: true, // .. }); calendar.init();