setting properties on custom task type

Hello,

How do i set properties on a custom task type? I would like to set the no_start and no_end methods on a custom task type bu i cant find any info on how this should be done.

Hi,
currently the data item receives ‘no_start/no_end’ attributes if it has no start_date and no end_date and duration respectively.
There is no easy way to amend it. However, you can try to override the internal method gantt._init_task_timing , which is responsible for assigning these attributes
github.com/DHTMLX/gantt/blob/v2 … t.js#L5176