The rowMoveSameLevelOnly property (boolean) disables the possibility to drag Scheduler rows to a different level in the resource hierarchy. When set to true, the rows are restricted to the same level during drag and drop row moving.
DayPilot.Scheduler.rowMoveSameLevelOnlyfalseJavaScript
const dp = new DayPilot.Scheduler("dp", {
rowMoveSameLevelOnly: true,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
rowMoveSameLevelOnly: true,
// ...
};React
<DayPilotScheduler
rowMoveSameLevelOnly={true}
{/* ... */}
/>Vue
<DayPilotScheduler
:rowMoveSameLevelOnly="true"
<!-- ... -->
/>DayPilot.Scheduler.rowMoveHandling
DayPilot.Scheduler.onRowMoving
Row Moving [doc.daypilot.org]