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.
Declaration
DayPilot.Scheduler.rowMoveSameLevelOnlyDefault Value
falseExamples
JavaScript
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"
<!-- ... -->
/>See Also
DayPilot.Scheduler.rowMoveHandling
DayPilot.Scheduler.onRowMoving
Row Moving [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot