The columnMoveSameLevelOnly property (boolean) restricts column moving in the JavaScript Calendar component so a column can only be dropped at the same hierarchy level.
Available since 2022.3.5378.
DayPilot.Calendar.columnMoveSameLevelOnlyfalseJavaScript
const calendar = new DayPilot.Calendar("dp", {
columnMoveHandling: "Update",
columnMoveSameLevelOnly: true,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
columnMoveSameLevelOnly: true,
// ...
};React
<DayPilotCalendar
columnMoveSameLevelOnly={true}
{/* ... */}
/>Vue
<DayPilotCalendar
:columnMoveSameLevelOnly="true"
<!-- ... -->
/>Column Moving [doc.daypilot.org]