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

Open menu on calendar header clicked.

Asked by Anonymous
11 months ago.

How can i do it?

Answer posted by Dan Letecky [DayPilot]
10 months ago.

At this moment, there is not built-in property for specifying a context menu for the calendar headers but you can use one of the following options:

1. Use an active area with action: "ContextMenu" and specify the context menu using the menu property of the active area. You can add the active area to the header using the onBeforeHeaderRender event (see Calendar column header customization in the docs).

2. You can create the context menu manually and open in the the onHeaderClick event - see Calendar header click and DayPilot.Menu.show().

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