onBeforeTooltip

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

boolean onBeforeTooltip(string id);
idstringthe id of a data item that the tooltip will be shown for
booleandefines 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.

Back to top