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.
DayPilot.Scheduler.treePreventParentUsagefalseJavaScript
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"
<!-- ... -->
/>Availability of this API item in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript | No Support | Full Support |
Event calendar/scheduling AJAX components. Available for JavaScript/HTML5/jQuery, ASP.NET, ASP.NET MVC. Build resource booking, project management, time tracking applications, personal and shared event calendars.
DayPilot