This is a migrated thread and some comments may be shown as answers.

set the start view time

6 Answers 125 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Luigi
Top achievements
Rank 1
Luigi asked on 19 Nov 2015, 04:43 PM

Hi all,

 

is it possible, by code, set the start point of the view? for example, I can move horizzontally in the timeline till a date/time by mouse. I need to set the point also by code, saying for example "go to 3rd July, 08.45 am" to my gantt, so the first visible point in the timeline is July, the 3rd, 8.45 am.

 

is it possible?

 

Thanks

 

Luigi

6 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 23 Nov 2015, 08:44 AM
Hi Luigi,

The "range" of the gantt timeline is defined by the start and end of the available tasks. In order to define custom range the existing views should be extended as shown in the following dojo snippet.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Travis
Top achievements
Rank 1
answered on 18 Jan 2016, 09:32 PM
Adding this ability would be great.
0
Dimitar Terziev
Telerik team
answered on 19 Jan 2016, 07:35 AM
Hi,

You could submit a feature request in our Feedback Portal.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Carey
Top achievements
Rank 1
answered on 29 Feb 2016, 02:56 PM
I also would like to the chart to open up and center the chart on the red line that is visible when currentTimeMarker = true. I will submit this as a request, but in the meantime, does anyone know of a way this can be done programmatically? 
0
Dimitar Terziev
Telerik team
answered on 02 Mar 2016, 09:38 AM
Hi,

Here is a dojo snippet showing how to scroll the gantt's timeline to a particular data.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Carey
Top achievements
Rank 1
answered on 03 Mar 2016, 04:03 PM

Thanks, Dimitar. This works, although this example created by one of your fellow admins also works and seems a little more straightforward: http://dojo.telerik.com/oduPI

 

Tags
Gantt
Asked by
Luigi
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Travis
Top achievements
Rank 1
Carey
Top achievements
Rank 1
Share this question
or