Javascript 剑道UI-调度程序-添加事件
我正在使用剑道UI的调度程序小部件。 我需要修改当您单击日历日时触发的“添加事件”窗口 我找不到调用此窗口的位置,或者这些字段的定义位置。我需要更新这个。谁能给我指出正确的方向吗 我用于生成Sceduler小部件的代码如下所示:Javascript 剑道UI-调度程序-添加事件,javascript,jquery,css,kendo-ui,kendo-asp.net-mvc,Javascript,Jquery,Css,Kendo Ui,Kendo Asp.net Mvc,我正在使用剑道UI的调度程序小部件。 我需要修改当您单击日历日时触发的“添加事件”窗口 我找不到调用此窗口的位置,或者这些字段的定义位置。我需要更新这个。谁能给我指出正确的方向吗 我用于生成Sceduler小部件的代码如下所示: <div id="example"> <div id="team-schedule"> <div id="People"> <input checked type="checkb
<div id="example">
<div id="team-schedule">
<div id="People">
<input checked type="checkbox" id="Country" value="1" disabled="disabled">
<input checked type="checkbox" id="Region" value="2">
<input type="checkbox" id="District" value="3">
<input type="checkbox" id="WorkUnit" value="4">
<input type="checkbox" id="Classifier" value="5">
</div>
</div>
<div id="Schedule" class="calendars"></div>
</div>
<script>
$("#Schedule").kendoScheduler({
date: new Date("2013/6/6"), // The current date of the scheduler
views: [
"month",
{ type: "month", selected: true },
"week",
"day"
],
dataSource: [ // The kendo.data.SchedulerDataSource configuration
// First scheduler event
{
id: 1, // Unique identifier. Needed for editing.
start: new Date("2013/6/6 08:00 AM"), // Start of the event
end: new Date("2013/6/6 09:00 AM"), // End of the event
title: "Classification" // Title of the event
}
]
});
</script>
$(“#计划”).kendoScheduler({
日期:新日期(“2013/6/6”),//计划程序的当前日期
观点:[
“月”,
{type:“month”,选中:true},
“一周”,
“一天”
],
dataSource:[//kendo.data.SchedulerDataSource配置
//第一个调度程序事件
{
id:1,//唯一标识符。需要进行编辑。
开始:新日期(“2013/6/6 08:00 AM”),//活动开始
结束:新日期(“2013/6/6 09:00 AM”),//活动结束
标题:“分类”//活动名称
}
]
});
您需要调查调度程序编辑器模板。是一个详细的版本(尽管它是MVC包装器版本,但是剑道模板是由块在没有Razor代码的情况下类似地定义的。对于HTML5/JS版本,您只需像通常使用字段一样定义字段
传递到事件窗口的字段在HTML5/JS模式中定义
以下是指向剑道用户界面(Telerik的代码库)的调度程序自定义编辑器的链接:
- (如果有人正在寻找MVC版本)