简体   繁体   English

无法保存 Kendo UI Scheduler 事件

[英]Can't save Kendo UI Scheduler event

You can reproduce all next steps on standard kendo UI Scheduler example.您可以在标准剑道 UI 调度程序示例中重现所有后续步骤。 For example on this: http://docs.telerik.com/kendo-ui/web/scheduler/how-to/dynamic-calc-of-height例如: http : //docs.telerik.com/kendo-ui/web/scheduler/how-to/dynamic-calc-of-height

  1. Click on empty time slot.单击空的时间段。
  2. Editor pop up is opening for creating new event编辑器弹出窗口正在打开以创建新事件
  3. Type title etc.键入标题等。
  4. Click "Save"点击“保存”

Now we see new event on the scheduler table.现在我们在调度表上看到新事件。 But if we do next:但是如果我们接下来做:

  1. Click on event点击事件
  2. Editor pop up is opening for editing event编辑器弹出窗口正在打开编辑事件
  3. Click on cancel.点击取消。
  4. Scheduler - delete the event!调度程序 - 删除事件!

How to save event and prevent this scheduler incomprehensible behavior?如何保存事件并防止此调度程序无法理解的行为?


But on this example all works fine.但在这个例子中一切正常。 http://docs.telerik.com/kendo-ui/web/scheduler/how-to/add-control-to-customeditor Please, explain some one, what is happens? http://docs.telerik.com/kendo-ui/web/scheduler/how-to/add-control-to-customeditor请解释一下,发生了什么? What is the reason of different behavior?不同行为的原因是什么?

The reason for this behavior is the missing dataSource "schema.model" configuration which is mandatory for the CRUD operations.这种行为的原因是缺少数据源“schema.model”配置,这是 CRUD 操作所必需的。 For more information about how to set up the Scheduler you can check the following help article:有关如何设置调度程序的更多信息,您可以查看以下帮助文章:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM