5 Answers, 1 is accepted
0
Hello Pierre,
Using HTML elements is not supported by the diagram. If you wish to navigate to another page when a shape is clicked they you could change the window.location in the diagram click event.
Regards,
Daniel
Telerik
Using HTML elements is not supported by the diagram. If you wish to navigate to another page when a shape is clicked they you could change the window.location in the diagram click event.
Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Itai
Top achievements
Rank 1
answered on 07 Apr 2016, 06:24 AM
Is it possible in this way to have multiple different links from different parts of the same shape?
That is, I want to have one shape, with say a text that links to one site, and a text that links to another. Bot inside the same diagram shape (for connections/layout logic).
I am creating the shape as a Group with a visual template function.
0
Hello,
This is not supported by the diagram. Events are currently only triggered for the entire shape and not particular elements. It should be possible to implement it via the drawing API which triggers click for each element - example.
Regards,
Daniel
Telerik
This is not supported by the diagram. Events are currently only triggered for the entire shape and not particular elements. It should be possible to implement it via the drawing API which triggers click for each element - example.
Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Itai
Top achievements
Rank 1
answered on 11 Apr 2016, 07:39 AM
Thank you for this example. Can you tell me what is the type of `diagram.canvas` or `diagram.canvas.surface`? I can't seem to find it in the Kendo API Reference. A link to reference documents would also be greatly appreciated.
0
Hi,
surface is an instance of kendo.drawing.Surface. canvas is an internal object used by the diagram to hold the surface.
Regards,
Daniel
Telerik
surface is an instance of kendo.drawing.Surface. canvas is an internal object used by the diagram to hold the surface.
Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!