Kendo ui 剑道UI Web调度器:在每月查看模式下,事件被折叠为;“三点”;酒吧

Kendo ui 剑道UI Web调度器:在每月查看模式下,事件被折叠为;“三点”;酒吧,kendo-ui,Kendo Ui,在月视图模式下(剑道用户界面,2013年第3季度SP1(2013.3.1316版)),事件被折叠到“三点”栏中,即使当天只有一个事件: 调度器小部件的定义如下所示: <div id="scheduler" style="height:500px"></div> $("#scheduler").kendoScheduler({ editable: { confirmation: false }, resources: ko.obs

在月视图模式下(剑道用户界面,2013年第3季度SP1(2013.3.1316版)),事件被折叠到“三点”栏中,即使当天只有一个事件:

调度器小部件的定义如下所示:

<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()
});

$(“#调度程序”).kendoScheduler({
可编辑:{
确认:错误
},
资源:可观测([
{
字段:“显示模式”,
数据源:[
{文本:“常规其他未来”,值:111,颜色:{93D095},
...
]
}
]),
加:职能(e){
e、 预防默认值();
//自定义添加实现
},
编辑:功能(e){
e、 预防默认值();
//自定义编辑实现
},
删除:功能(e){
e、 预防默认值();
//自定义删除实现
},
移动开始:功能(e){
e、 preventDefault();//防止拖放
},
移动:功能(e){
e、 preventDefault();//防止拖放
},
moveEnd:函数(e){
e、 preventDefault();//防止拖放
},
视图:[{type:“day”,showWorkHours:true},{type:“week”,showWorkHours:true,selected:true},“month”,“agenda”],
时区:“Etc/UTC”,
日期:新日期(),
dataSource:self.dataSource//self.dataSource是可观察的,稍后将使用kendo.data.SchedulerDataSource()分配它
});
最有趣的是,一段时间前,调度程序看起来如下所示:

<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,但问题仍然存在


提前非常感谢

在月视图期间,我使用以下代码重新调整事件大小:

dataBound: function (e) {                       
    $(e.sender.element).find(".k-resize-handle").remove();
    var events = $(e.sender.element).find(".k-event").height(65);
},

我们需要查看您的代码,因为默认情况下它工作正常:Hi Atanas!我在帖子中添加了关于问题背景的其他信息。谢谢你的重播!你弄明白了吗?可能与您的eventHeight设置有关?我也有类似的问题。请让我知道如果你知道如何强制eventHeight而不让它塌陷到。。。按钮