[?] How to change the Event Areas value from dps.contextMenu
8 years ago.
I have a Daypilot Scheduler, I use event "onBeforeEventRender" to render the Event Areas like this
args.e.areas = [{ html: jsonTags.AreasHTML, right: jsonTags.AreasRight, bottom: jsonTags.AreasBottom }];
and I also have dp.contextMenu with 2 options "Confirm" and "Unconfirm"
What I would like to ask your help is, how we can change args.e.areas when I hit option "Confirm"?
My scenario is, after hit option "Confirm" , the expected Event Areas will be
args.e.areas = [{ html: "Confirmed", right: jsonTags.AreasRight, bottom: jsonTags.AreasBottom }];
Thank in advance,
Thomas Lee
DayPilot