在 Kendo UI for jQuery 中显示超过 1 年?

发布于 2025-01-15 18:05:09 字数 183 浏览 4 评论 0 原文

一些临床研究可能需要长达 5 年或更长时间,我希望能够在 Kendo 甘特图中显示整个研究及其子任务。我想显示比 jQuery v2018.3.1017 的 Kendo UI 内置的当前最长 1 年更长的时间段,这可能吗?

我希望能够显示最长 6 年的时间。理想情况下,标题将更改为能够看到季度/年份而不是月份。

这可能吗?

Some clinical studies can take up to 5 years or more, and I want to be able to show an entire study and its sub-tasks in a Kendo Gantt chart. I want to show periods of time longer than the current maximum of 1 year that is built into Kendo UI for jQuery v2018.3.1017, is that possible?

I'd like to be able to show a maximum of 6 years. Ideally the header would change to be able to see Quarter/Year rather than Month.

Is this possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

弱骨蛰伏 2025-01-22 18:05:09

甘特图的内置视图有:“日”、“周”、“月”和“年”。因此,如果您需要显示更长的时间,则需要创建自定义视图。 查看文档中的自定义视图示例。它展示了如何创建多年视图并显示季度。

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.

万水千山粽是情ミ 2025-01-22 18:05:09

只是为了结束循环:这是我从 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文