Tooltip with additional custom text, not task name

Dear all,

I already know, how to change the format of the tooltip by assigning the function found in the documentation to “gantt.templates.tooltip_text”.
How can I show additional database fields or custom information in this box? The task name is not enough for my application.
I am loading my tasks via “var tasks data”. For me it doesn’t matter if the data comes from this variable of if I need to put some JavaScript that sets the custom text afterwards. Any ideas? Thank you for your support.

Best regards


Seems like it was easier than I thought.

I added the field
to the data of the task

and used it in


  • task.custom +