This is a migrated thread and some comments may be shown as answers.
override template for tasks
3 Answers 39 Views
This is a migrated thread and some comments may be shown as answers.
petr
Top achievements
Rank 1
petr asked on 10 Mar 2015, 03:38 PM
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.?

3 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 12 Mar 2015, 07:54 AM
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!
 
0
petr
Top achievements
Rank 1
answered on 13 Mar 2015, 09:22 AM
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.
0
Dimitar Terziev
Telerik team
answered on 17 Mar 2015, 07:55 AM
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!
 
Tags
Gantt
Asked by
petr
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
petr
Top achievements
Rank 1
Share this question
or