We have been struggling on something that should be quite easy but.. we can't
In the Scheduler, we have entirely customized the toolTip; so...
Taking into account the code below, How can we hide the "tools" according to some value in 'eventRecord'
features: {
eventTooltip : {
tools : [ { ..... }], <-- How to hide the tool ? if -> this.eventRecord.xxx === value
header : { .... },
template : data =>....
......
Thak you for your help
Attachments
Capture d’écran 2019-10-10 à 18.33.37.png (19.93 KiB) Viewed 11190 times
Thank you, we really appreciate your support on this.
To be honest we have thought about this way, beforeShow and hiding each element via "hidden"
but we were so focusing on hiding the tools itself, that we lost pretty much time for nothing...
Hence, according to you there no way to hide the tools itself directly, except hiding each element of the tools.
The question is if you want to show and hide the tools on the fly at runtime. In this case hiding and showing them in the code would be a better solution.
If you just want to hide them globally once forever, then you can add a simple css to your stylesheet that would hide them.