I temporary disable hover tooltip use useSelector: false, allowHover: false. But I must display tooltip on hover in some records. How can I disable tooltip on hover in some records base condition?
Support Forum
You can use https://bryntum.com/docs/scheduler/api/Scheduler/feature/EventTooltip#event-beforeShow listener and conditionally return false
from the function for the records you do not want to show the tooltip for.
If you add the following to AppConfig.js of Vue simple demo it only shows tooltips for events that do not have me
in the name:
eventTooltipFeature : {
listeners : {
beforeShow({source}) {
const {eventRecord} = source;
return eventRecord.name.includes('me');
}
}
},
saki wrote: ↑Tue Oct 26, 2021 11:26 amYou can use https://bryntum.com/docs/scheduler/api/Scheduler/feature/EventTooltip#event-beforeShow listener and conditionally return
false
from the function for the records you do not want to show the tooltip for.If you add the following to AppConfig.js of Vue simple demo it only shows tooltips for events that do not have
me
in the name:eventTooltipFeature : { listeners : { beforeShow({source}) { const {eventRecord} = source; return eventRecord.name.includes('me'); } } },
I am using Bryntum v4.0.8, so it don't have listener beforeShow. Can you suggest other ways ?