Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

goJS context menu copying over to other links

$
0
0

@sa12 wrote:

Hey guys,

So I have created a context menu on my link template in order to show information on a right click. I'm not using the context menu for anything else other than displaying info so the button's click functionality is not set. Thing is I only need to show this information on certain types of links and for that reason have the text set to a go.Binding. The links that do not display information simply don't have the binding set and thus show a button with an empty string. Ideally the user shouldn't see the empty string button either, but that's not the major problem here. While the page loads correctly with empty buttons on the links that don't need to show information, upon right clicking a link with information followed by any link without it, the information gets copied over and populates that link's context menu as well. How would I fix something like this? Thanks in advance.

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles