在月度查看模式下(Kendo UI,Q3 2013 SP1 (version 2013.3.1316)),即使当天只有一个事件,事件也会被折叠到“三点”条中:

Scheduler小部件的定义如下:
<div id="scheduler" style="height:500px"></div>
$("#scheduler").kendoScheduler({
editable: {
confirmation: false
},
resources: ko.observable([
{
field: "displayMode",
dataSource: [
{ text: "Regular-Other-Future", value: 111, color: "#93D095" },
...
]
}
]),
add: function (e) {
e.preventDefault();
// Custom adding implementation
},
edit: function (e) {
e.preventDefault();
// Custom editing implementation
},
remove: function (e) {
e.preventDefault();
// Custom removing implementation
},
moveStart: function (e) {
e.preventDefault(); // Prevent drag-and-drop
},
move: function (e) {
e.preventDefault(); // Prevent drag-and-drop
},
moveEnd: function (e) {
e.preventDefault(); // Prevent drag-and-drop
},
views: [{ type: "day", showWorkHours: true }, { type: "week", showWorkHours: true, selected: true }, "month", "agenda"],
timezone: "Etc/UTC",
date: new Date(),
dataSource: self.dataSource // self.dataSource is KO observable, which is assigned later with kendo.data.SchedulerDataSource()
});最有趣的是,不久前的调度程序如下所示:

我可能错了,但我们所做的更改已更新到2013.3.1119。现在我们使用2013.3.1316,但该问题仍处于活动状态。
非常感谢您的提前!
发布于 2015-08-08 01:52:11
我使用以下代码在月视图中调整事件大小:
dataBound: function (e) {
$(e.sender.element).find(".k-resize-handle").remove();
var events = $(e.sender.element).find(".k-event").height(65);
},https://stackoverflow.com/questions/21324795
复制相似问题