Skip to main content

onBeforeTooltip

Description​

Fires before the tooltip is displayed for a data item (only with the 'tooltip' extension enabled)

onBeforeTooltip: (id: string) => boolean

Parameters​

  • id - (required) string - the id of a data item that the tooltip will be shown for

Returns​

  • result - (boolean) - defines whether the default action of the event will be triggered (true) or canceled (false)

Example​

scheduler.attachEvent("onBeforeTooltip", function (id){
//any custom logic here
return true;
});

Details​

The event is blockable. Return false and the tooltip won't be shown.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.