New type of task


#1

Hi,

Is it possible to add a new type of task in the gantt ?
I’m using all types of tasks but i want a new type that is like milestone but dosn’t have same properties and look like a red triangle.
This type of task is to have a look to project problems directly on the gantt


#2

Hello,
Yes, you can add a custom task type:
https://docs.dhtmlx.com/gantt/desktop__task_types.html#creatingacustomtype
Here is an example:
https://docs.dhtmlx.com/gantt/samples/04_customization/12_custom_task_type.html
You can use CSS to draw a triangle instead of the rectangle:
http://snippet.dhtmlx.com/f24fdd32e