scheduler-prevent-parent-usage.png

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.

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

JavaScript

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Scheduler("dp");
  dp.treePreventParentUsage = true;
  // ...
  dp.init();
</script>