Hello,
i am trying to add a context menu so that, when a calendar item is clicked, the regular editor pops up. However, if you right click on the calendar item, you should get a context menu with, for example, "Delete".
I have managed to make that happen, but i have a hard time getting at the actual record. The only method in the MenuItemClickEvent that looks useful is getTarget(), but that's a canvas.
Is there any way to get at the item like you can in CalendarEventClick for example (getEvent())?
i am trying to add a context menu so that, when a calendar item is clicked, the regular editor pops up. However, if you right click on the calendar item, you should get a context menu with, for example, "Delete".
I have managed to make that happen, but i have a hard time getting at the actual record. The only method in the MenuItemClickEvent that looks useful is getTarget(), but that's a canvas.
Is there any way to get at the item like you can in CalendarEventClick for example (getEvent())?
Comment