Is there a way to display the Duration of a Task as a column on the left?
1 Answer, 1 is accepted
0
Aleksandar
Telerik team
answered on 21 Mar 2022, 07:47 AM
Hi Adam,
The TreeList component of the Gantt supports Bound columns. You can add a column bound to a model property, End, for example, and add a template, where you can calculate the duration between the start and end dates:
Here is a sample REPL demonstrating the above. You can customize the daysBetween function to return the desired data.
Alternatively, you can perform this calculation on the server-side and use a bound column that will display the calculated result.
Regards,
Aleksandar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.