Highlight a portion of the task

Hello, this is what i’m currently doing:

I have a cron job that checks every task of every gantt that I have in my Database,the cron job executes every day and for every task that hasn’t been completed between the established lapse time (where a completed task is progress = 100%) the script will update and increase the duration of the task by 1 day.

Now, I want to highlight only the extra days of a task like any of these samples:

Highlight the extra days:
docs.dhtmlx.com/gantt/samples/04 … ntent.html
Split the task:
docs.dhtmlx.com/gantt/samples/04 … _task.html
Or at least highlight the whole task that has extra days.
docs.dhtmlx.com/gantt/samples/04 … tyles.html

In addition i want to add a “reason” field in the lightbox for the task that are out of phase.

I’ve been struggling with this for weeks, any help would be appreciated.

Thanks.

Hello,
there is no particular way to higlight a part of the task. However, you can define any inner html content for the task element.
For the overdue tasks, you can create highligted element and place it inside the task in the right location (i.e. make it occupy the overdue period).
Please check this topic, there is a discussion on customization html content of the task, it may give some clues
viewtopic.php?f=15&t=36040&p=111689

regarding the additional field, you can add any extra properties to the task data object and have controls/columns for them
docs.dhtmlx.com/gantt/desktop__d … _form.html
docs.dhtmlx.com/gantt/desktop__s … lumns.html