Qamar
Qamar

Reputation: 33

Is there any way putting dropdown in gojs panel?

Is there any way we can integrate HTML controls like dropdown in goJS panel. I can see we can have text box inside panel and checkboxes as well. But i can't find dropdown.

Upvotes: 3

Views: 951

Answers (1)

Simon Sarris
Simon Sarris

Reputation: 63820

There's currently no way to add arbitrary HTML to a GoJS panel, but you could fashion elements to work like a drop-down.

It may be better to bring up HTML elements when you click on a node, which might suit you. The custom context menu sample does that (but with right click context menus).

Another example of showing HTML elements over a Diagram is the data visualization sample, though this works on mouseOver instead of click, the idea should be similar.

Upvotes: 2

Related Questions