Team, I am having a duration field which increases/decreases as per the resize operation user performs.
I am showing this duration field on tooltip of the event, but even after successfull resize, the duration in the tooltip does not get reflected.
Below is the code I use to populate the tooltip data
this.eventTooltipFeature = {
template({ eventRecord }) {
return `
<table>
<tr>
<td>ID:</td>
<td><strong>${eventRecord.id}</strong></td>
</tr>
<tr>
<td style="padding-top:10px">Duration:</td>
<td style="padding-top:10px">${eventRecord.totalDuration}</td>
</tr>
</table>
`;
}
}
The totalDuration field does not show the updated duration after the resize.
Any thoughts?
}
};