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

Dynamic context menu in Angular

Asked by Anonymous
1 year ago.

Hi, I'm wondering if there is a way of having a dynamic context menu(both resource and event) - a menu with items that depends on which header row or event the user has right-clicked on?

Answer posted by Dan Letecky [DayPilot]
1 year ago.

You can use onShow event handler of the context menu to adjust the menu items on the fly.

Please take a look at the following sample project:
https://code.daypilot.org/50232/angular-scheduler-dynamic-context-menu

Comment posted by Eric
1 year ago.

Looks great, thanks!

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