override template for tasks

4 posts, 0 answers
  1. petr
    petr avatar
    7 posts
    Member since:
    Mar 2015

    Posted 10 Mar 2015 Link to this post

    Hello, our team needs gantt control, I looked many libraries but Kendo UI it's more then only one gantt and i stopped on it.
    I looked all examples and all documentations for it, but not found setting template or some other customizations for task viewing. For example we need task with 2 parts : 1 - planned time and  2 - time for risks, every part must have different colors. How I can do it.?
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 12 Mar 2015 Link to this post

    Hi,

    Currently the gantt widget does not support templates for the tasks, but you could use the approach from our online documentation here to colorize different parts of the task based on some criteria (which in your case will be planned time and time for risk).

    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. petr
    petr avatar
    7 posts
    Member since:
    Mar 2015

    Posted 13 Mar 2015 in reply to Dimitar Terziev Link to this post

    Hi.
    Ok, I am understand, but could you give me sources of gantt control
    for understanding how difficult to change it for our requirements.
    If its simple we will can buy all kendo ui library.
  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 17 Mar 2015 Link to this post

    Hello,

    In order to provide a sample code, please clarify the following. If the task has two colors, one for the planned time and one for the risk time, will the percent complete be restrained only to the planned time part of the task?  Also are you planning to use the feature for percent complete adjustment at all? If you are not planning to allow the user to update the percent complete, then the amount of planned time versus the total time could be set to the percent complete field and the drag handle used for percent complete adjustment could be removed.

    Regards,
    Dimitar Terziev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready