Hi!
I used to manipulate the tasktooltip on Gantt 6.0.6 with this:
taskTooltip : {
template(data) {
const
me = this,
{ taskRecord } = data;
[...]
return TaskTooltip.defaultConfig.template.call(me, data) +
`<table border="0" cellspacing="0" cellpadding="0">
<tr><td style="padding-right:5px;">${me.L('Equipment')}:</td><td>${taskRecord.equipment ? taskRecord.equipment : ''}</td></tr>
<tr><td style="padding-right:5px;">${me.L('Status')}:</td><td>${taskRecord.status ? woStatus : ''}</td></tr>
<tr><td style="padding-right:5px;">${me.L('WO Type')}:</td><td>${taskRecord.wotype ? woType : ''}</td></tr>
<tr><td style="padding-right:5px;">${me.L('Priority')}:</td><td>${taskRecord.priority ? woPrio : ''}</td></tr>
</table>`;But that's not working anymore, I'm getting "TypeError: Cannot read properties of undefined (reading 'call')" on TaskTooltip. Is there no defaultConfig anymore?
Kind regards,
Maurice