Create hyperlink on Task

Hi, I’m just wondering is there a way to create a hyperlink on every task? Like if I click on a task, then it will direct me to a page or something?

Is there a method?
Thanks

You can use task_text template to put any HTML into task.
docs.dhtmlx.com/gantt/api__gantt … plate.html

Also you can handle onTaskClickEvent
docs.dhtmlx.com/gantt/api__gantt … event.html

If I use the “onTaskClick”, it even include the ‘+’ sign in front of the task… So I can’t click the expend tree anymore…any other ideas?

Or, is there a way that the ‘onTaskClick’ only fire on the task bar in the timeline area?

Solved!! Use ‘OnTaskDblClick’~ :slight_smile:

onTaskClick event handler gets native event object and it’s possible to check click target.