如何使用 angularjs 更改日间试点计划程序中的日期控制

how to change the date control in day pilot scheduler using in angularjs

嗨,我是新来的 day pilot scheduler,

我已将这一天的试点调度程序 https://code.daypilot.org/54503/angularjs-timesheet-tutorial-javascript-php 转介到我的时间 sheet。

这里我想要的是 select 日期取决于侧边栏日历。

这里不知道当前日期是怎么select编的。

及时sheet 我只想显示selected 周。

days: new DayPilot.Date().daysInMonth(),
startDate: new DayPilot.Date().firstDayOfMonth(),

我试图理解代码,但对我来说有点困难。

任何人都可以告诉我如何设置 selected 日期取决于侧面压延机控制。

谢谢

$scope.scheduler = { 
viewType: "Days", 
showNonBusiness: false, 
businessBeginsHour: 9, 
businessEndsHour: 17, 
cellWidthSpec: "Auto", 
scale: "CellDuration", 
cellDuration: "15", 
useEventBoxes: "Never", 
days: 7, 
startDate: (new DayPilot.Date().firstDayOfWeek())}

使用后days:7

它 return 仅 7 天

https://forums.daypilot.org/Topic.aspx/3974/daypilot-scheduler-end-date-set-as-current