dmp hideweekend

The Monthly Calendar supports 5-day work week view.

You can enable it using ShowWeekend property.

JavaScript

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Month("dp");
  dp.showWeekend = false;
  // ...
  dp.init();
</script>

Java (JSP)

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Month("dp");
  dp.backendUrl = "${pageContext.request.contextPath}/dpm";
  dp.showWeekend = false;
  // ...
  dp.init();
</script>

ASP.NET WebForms

<DayPilot:DayPilotMonth runat="server" id="DayPilotMonth1"
  ...
  ShowWeekend = false
/>

ASP.NET MVC

@Html.DayPilotMonth("dpm", new DayPilotMonthConfig {
  BackendUrl = ResolveUrl("~/Month/Backend"),
  ...
  ShowWeekend = false
})