How do you color a task to represent the percent completion?
The demo's at https://demos.telerik.com/aspnet-core/gantt/task-template and https://demos.telerik.com/aspnet-core/gantt/api show it but I couldn't tell how it was being done. I am looking to do something like these demo's do.
Thanks
Ken
1 Answer, 1 is accepted
0
Dimitar
Telerik team
answered on 10 Jan 2019, 12:28 PM
Hello Ken,
Customizing the Gantt tasks markup in the specified demo, and in general, is achieved through the TaskTemplateId option. It allows you to specify a template that will be used for rendering the widget events. The template also receives the related data item and allows to use it inside the template through the special hash(#) syntax:
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.