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 = myGroupContextMenu
is there a way to inform the HTML which options to show in the menu?
thanks