
The resources (rows) with child nodes have special behavior.
You can prevent the parent resources from being used for scheduling.
You can highlight the parents using CSS. The parent node cells are marked with
*_cellparentclass (CssOnly mode).You can load the children dynamically.
JavaScript
<div id="scheduler"></div>
<script>
const scheduler = new DayPilot.Scheduler("scheduler", {
treePreventParentUsage: true,
// ...
});
scheduler.init();
</script>ASP.NET WebForms
Demo
Scheduling events in parent tree nodes can be disabled using TreePreventParentUsage = true.
See Also
Restaurant Table Reservation Tutorial (ASP.NET, C#, VB.NET)
ASP.NET MVC
@Html.DayPilotScheduler("dps_parents", new DayPilotSchedulerConfig {
BackendUrl = ResolveUrl("~/Scheduler/Backend"),
...
TreeEnabled = true,
TreePreventParentUsage = true
})Demo
Availability
Availability of this feature in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript | ||
| DayPilot for ASP.NET WebForms | ||
| DayPilot for ASP.NET MVC | ||
| DayPilot for Java |
DayPilot