Hello,
we are using the Scheduler ContextMenu and want to manipulate the ContextMenu-Items dynamically. Therefore we use the "onShow"-Event of the DayPilot.Menu class.
By clicking on the event, we request data from server async and react on the result by disable/enable the ctxMenu item.
Our problem is, that the ContextMenu doesn`t consider the disable-option, however we`ve seen that the option is set correctly. We assume that the ContextMenu is rendered before our onShow-function is completed.
For other events as Scheduler.onScroll there are the options "args.async" and "args.loaded()". This looks like the functionality, that we need to handle our purpose.
Can you agree with our assumption? Is it possible to implement this options for the onShow-Event?
KR
Tim