如何在angularjs中使用天飞行员计划程序中更改日期控件 [英] how to change the date control in day pilot scheduler using in angularjs
问题描述
我是一日飞行员计划的新手,
今天,我已经提到了飞行员调度程序
在时间表中,我只想显示选定的一周.
days:新的DayPilot.Date().daysInMonth(),startDate:新的DayPilot.Date().firstDayOfMonth(),
我试图理解代码,但是对我来说有点困难.
任何人都可以告诉我如何设置所选日期取决于侧面压光机控制.
谢谢
$ scope.scheduler = {viewType:天数",showNonBusiness:否,businessBeginsHour:9,businessEndsHour:17cellWidthSpec:自动",比例尺:"CellDuration",cellDuration:"15",useEventBoxes:从不",天:7startDate :(新的DayPilot.Date().firstDayOfWeek())}
使用天数后:7
仅返回7天
https://forums.daypilot.org/Topic.aspx/3974/daypilot-scheduler-end-date-set-as-current
Hi I'm new to day pilot scheduler,
I have referred this day pilot scheduler https://code.daypilot.org/54503/angularjs-timesheet-tutorial-javascript-php to use my time sheet.
here what I want is I want to select date depend upon sidebar calender.
Here I don't know how the current date is selected.
In timesheet I want to show only the selected week.
days: new DayPilot.Date().daysInMonth(),
startDate: new DayPilot.Date().firstDayOfMonth(),
I tried to understand the code but it is little bit difficult to me.
can any one tell me how to set the selected date depends upon side calender control.
Thanks
$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())}
after using days:7
it return 7 days only
https://forums.daypilot.org/Topic.aspx/3974/daypilot-scheduler-end-date-set-as-current
这篇关于如何在angularjs中使用天飞行员计划程序中更改日期控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!