Our powerful JS Calendar component
Hi All,
I want to remove the following delete button, how should I do?
remove delete button.png (218.01 KiB) Viewed 384 times
This way:
features : {
eventTooltip : {
tools : {
delete : null,
},
}
}
I add the following config, and it works.
eventTooltipFeature: {
align: 'l-r',
tools:{
delete : false,
}
},
One more question, I want to change default display location of event tool tip, see the following screenshot, how should I do?
Move to the default location.png (294.43 KiB) Viewed 378 times
Where would you like it to display?
I want to display it where the mouse left clicking
This is the incantation:
eventTooltip : {
anchor : false,
align : 'l0-r0',
listeners : {
beforeAlign(align) {
align.aligningToEvent = true;
align.domEvent = this.tooltip.triggeredByEvent;
align.target = DomHelper.isInView(align.domEvent);
align.anchoredTo = document.body;
}
}
}
Screenshot 2025-04-29 at 07.10.11.png (207.83 KiB) Viewed 346 times
in react, I tried to add your config you provided, but there is syntax error, how to resolve it?
syntax error 4-30.png (69.6 KiB) Viewed 336 times
All events pass the event firer as the source
property of the event.
So the tooltip instance will be in align.source