Context menu opening dialog

Hi @walter,

Is it possible to open a “dialog box” by clicking a “context-menu” item?

Thanks.

Yes, you can execute any arbitrary JavaScript you want when you click on a button.

What do you mean by dialog box? HTML? Or a GoJS node?

Thanks @simon for your quick response.

My requirement is to open a “Pop Up” or “Dialog Box” when clicked on a context-menu item, which can be HTML one, which uses the node data only and display node’s information. Here context-menu which i am using is at the node level.

https://gojs.net/latest/samples/basic.html

Look at how the context menu button “properties” is defined here, its pretty close to what you want to do.

Thanks, i will check this out.