在Kendo-Scheduler中自动扩展事件的高度?

时间:2017-07-24 20:41:36

标签: kendo-ui kendo-scheduler

我试图动态设置事件的高度。

我在视图中尝试了eventHeight。它会改变所有事件的高度。我需要一种方法来自动调整eventHeight的大小取决于文本的长度。

这是我想要的东西,但我找不到在Kendo-Scheduler中做同样事情的方法。

http://www.telerik.com/support/kb/aspnet-ajax/scheduler/details/auto-expand-the-height-of-the-appointment-to-accomodate-the-entire-subject-in-month-view

1 个答案:

答案 0 :(得分:0)

您需要将以下规则添加到CSS文件中:

.k-event {
    height: auto !important;
}