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
0
                                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 
 
                                        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
                                Hi,
You could submit a feature request in our Feedback Portal.
Regards,
Dimitar Terziev
Telerik 
 
                                        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
                                Hi,
Here is a dojo snippet showing how to scroll the gantt's timeline to a particular data.
Regards,
Dimitar Terziev
Telerik 
 
                                        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