Heyo.
We are playing around with cellTooltips to display tooltip for our resources. When we are updating the resourcee with new Data, the tooltip doesnt reflect this change for some reason. Is there a cachee or smthn that needs to be cleared or what is happening here?
Reproduced in this example: https://bryntum.com/examples/scheduler/tooltips/
By adding this to the config:
to the features object we add
cellTooltip: {
tooltipRenderer: ({record}) => {
return StringHelper.xss`<div>${record}</div>`
}
},
and to the eventTooltip onBeeforeshow we add a function to change the resources name. This is mainly to trigger a dataChange to the resource, not something we actually implement
onBeforeShow({ source : tooltip }) {
tooltip.title = StringHelper.encodeHtml(tooltip.eventRecord.name);
tooltip.eventRecord.resource.set({name: 'HELLO WORLD'});
},
You can see in the demo that the resource gets a new name but when hovered the tooltip still shows the old name. When you change resource it gets the new info.