search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

resourceHoverHandling

Asked by Boubake CHIHI
6 years ago.

Hi;

Is there a resourceHoverHandling ="Disabled|Bubble|ContextMenu|..." just like eventHoverHandling ?

I just want to hover a small area to show the bubble !
I did it very well with events using an area containing just the "!" (see attached image) !

If there is another way to do it please tell me.

Many thanks in advance.

Answer posted by Dan Letecky [DayPilot]
6 years ago.

Since build 2852 it's possible to use action: "Bubble" for row headers as well:

    dp.resourceBubble = null;
    dp.onBeforeRowHeaderRender = function(args) {
        args.row.data.bubbleHtml = "Test";
        args.row.areas = [
            {right: 0, top: 0, height: 12, width: 12, html: "!", action:"Bubble", bubble: new DayPilot.Bubble() },
        ];
    };

You can get the latest build in the sandbox:

https://javascript.daypilot.org/sandbox/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.