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

Editable TextBlocks in a context menu

$
0
0

@felix wrote:

Hello,

I would like the user to right-click a node, get a context menu with two text fields into which she can enter data, and then click a button that modifies the model (according to the TextBlock values) and closes the context menu.

I tried setting contextMenu to make an adornment with two TextBlocks and a button, but clicking to select the text fields closes the menu. Intercepting the click event does not seem to offer anything immediately.

Is there a pattern/example for doing this? Is it possible to use contextMenu, or do I need to do something else?

Thanks
F

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles