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

Multiple DayPilotMenu

Asked by Anonymous
5 years ago.

Hi,
Is it possible to use different DayPilotMenu based on the event status?

Basically, my event has following status: scheduled, started, cancelled, and completed.
For scheduled, I want the context menu to have following options: cancel, start
For started, I want following options: complete, cancel
For cancelled, i want: view
For completed, I want: view

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

Yes, you can assign a custom context menu to events using BeforeEventRender (use e.ContextMenuClientName property):

http://doc.daypilot.org/scheduler/event-customization/

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