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

Popover using onEventRightClick

Asked by Albert
7 months ago.

Is there some tutorial or example on how to open a popover when right click on event?

Using something like bootstrap-popover or webui-popover.

I need some customized view when performing right click.

Kind regards.

Answer posted by Albert
7 months ago.

I've solved with the following code:

Added a unique class on event inside onBeforeEventRender: =;

Later, inside onEventRightClick I just look for that class and I activate the popover:

$('.' +{{title: 'sample', content: 'description'})
$('.' +'show')

Comment posted by Dan Letecky [DayPilot]
7 months ago.

You can open a custom popover using the onEventRightClick event:

You can also enable the built-in Bubble popover using eventRightClickHandling property:

dp.eventRightClickHandling = "Bubble";

See also:

Comment posted by Dan Letecky [DayPilot]
7 months ago.

Thanks for posting your solution!

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