The treePreventParentUsage property (boolean) disables parent nodes in the resources tree hierarchy of the JavaScript Scheduler from being used as drop targets in the grid.
Declaration
DayPilot.Scheduler.treePreventParentUsageDefault Value
falseExamples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
treePreventParentUsage: true,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
treePreventParentUsage: true,
// ...
};React
<DayPilotScheduler
treePreventParentUsage={true}
{/* ... */}
/>Vue
<DayPilotScheduler
:treePreventParentUsage="true"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot