set the start view time

7 posts, 0 answers
  1. Luigi
    Luigi avatar
    1 posts
    Member since:
    Nov 2015

    Posted 19 Nov 2015 Link to this post

    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

  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 23 Nov 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Travis
    Travis avatar
    4 posts
    Member since:
    Jun 2015

    Posted 18 Jan Link to this post

    Adding this ability would be great.
  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 19 Jan Link to this post

    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!
     
  6. Hunter
    Hunter avatar
    24 posts
    Member since:
    Jan 2014

    Posted 29 Feb Link to this post

    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? 
  7. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 02 Mar Link to this post

    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!
     
  8. Hunter
    Hunter avatar
    24 posts
    Member since:
    Jan 2014

    Posted 03 Mar in reply to Dimitar Terziev Link to this post

    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

     

Back to Top
Kendo UI is VS 2017 Ready