How can I open context menu in Calendar configDay view?
4 years ago.
I added the calendar configDay view for mobile view. Below is my code. I'm creating a mobile version of my ERP.
My question is
1. How can I open the context menu in calendar configDay view or in any view.
2. How can open the context menu in mobile using tap and hold? I used eventTapAndHoldHandling but not working.
configDay: any = {
contextMenu: new DayPilot.Menu({
onShow: args => {
args.menu.items = [
{
text: "Blue",
icon: "icon icon-blue",
tags: { color: "#1155cc" },
onClick: args => { }
},
{
text: "Green",
icon: "icon icon-green",
tags: { color: "#6aa84f" },
},
]
},
}),
};
DayPilot