DayPilot.Scheduler.rowMoveSameLevelOnly

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.rowMoveSameLevelOnly

Default Value

false

Examples

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]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript