Button inside diagram shape or edit options

1 Answer 106 Views
Diagram
Sami
Top achievements
Rank 2
Iron
Iron
Iron
Sami asked on 12 Jul 2023, 08:30 PM | edited on 12 Jul 2023, 11:21 PM

I need to add a button inside a diagram element as example inside a shape or group elements, if it is not possible, add a pop up menu or something similar... 

Do you have any advice?

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 17 Jul 2023, 06:42 AM

Hi Sami,

The Diagram does not support standard HTML elements. Anything that is appended to it must be "drawn".

I looked through some older cases and I found the following forum thread that showcases something similar to what you're looking for:

https://www.telerik.com/forums/have-html-links-in-diagram-shape#3937733 

I modified the example from the forum answer a bit to showcase a slightly different behavior:

https://dojo.telerik.com/efEruzoB

When you click on one of the names in the Shape, an alert will appear with the first name of the person. When you click on the title, the title will be printed.

You can use this approach to extend the logic and achieve the desired outcome.

Regards,
Nikolay
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
Diagram
Asked by
Sami
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Nikolay
Telerik team
Share this question
or