@idekkers wrote:
HI
having a working html context menu for a group,
now I need to have different options in the menu, depending on an attribute of the group data.
the code I have now to attach the menu to the group is:
let myGroupContextMenu = $(go.HTMLInfo,{
show: showGroupContextMenu,
meinElement: groupContext
})and
this.diagram.groupTemplate.contextMenu = myGroupContextMenuis there a way to inform the HTML which options to show in the menu?
thanks
Posts: 3
Participants: 2