在 Kendo UI for jQuery 中显示超过 1 年?
一些临床研究可能需要长达 5 年或更长时间,我希望能够在 Kendo 甘特图中显示整个研究及其子任务。我想显示比 jQuery v2018.3.1017 的 Kendo UI 内置的当前最长 1 年更长的时间段,这可能吗?
我希望能够显示最长 6 年的时间。理想情况下,标题将更改为能够看到季度/年份而不是月份。
这可能吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
甘特图的内置视图有:“日”、“周”、“月”和“年”。因此,如果您需要显示更长的时间,则需要创建自定义视图。 查看文档中的自定义视图示例。它展示了如何创建多年视图并显示季度。
The built-in views for the Gantt are: "day", "week", "month" and "year". So if you need to show longer period you need to create a custom view. Check the custom view example in the documentation. It shows how to create a multi-year view and display quarters as well.
只是为了结束循环:这是我从 Telerik 支持人员那里收到的回复。
根据提供的信息,我不确定您打算使用的小部件是 Kendo Gantt 还是 Scheduler。然而,在这两种情况下都需要实现自定义视图。下面您将找到包含在甘特图和调度程序中实现自定义视图的示例的链接:
创建自定义视图
时间线-with-动态长度
自定义视图
Just to close the loop: here is the response I received from the Telerik Support folks.
From the provided information I am not sure if the widget you intend to use is a Kendo Gantt or Scheduler. However, in both cases implementing a custom view will be needed. Below you will find links with examples of implementing custom views in Gantt and Scheduler:
creating-custom-view
timeline-with-dynamic-length
custom-view