html5 scheduler parent rows resources

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 *_cellparent class (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

ASP.NET MVC

@Html.DayPilotScheduler("dps_parents", new DayPilotSchedulerConfig {
  BackendUrl = ResolveUrl("~/Scheduler/Backend"),
  ...
  TreeEnabled = true,
  TreePreventParentUsage = true
})

Demo