Display more than 1 year in Kendo UI for jQuery?

315 Views Asked by At

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?

2

There are 2 best solutions below

2
On

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.

0
On

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