Completed
Last Updated: 22 Jan 2020 15:45 by ADMIN
Imported User
Created on: 24 Apr 2015 23:07
Category: Kendo UI for jQuery
Type: Feature Request
1
Diagram: Event for Connection Created
Currently there is no way to tell when a new connection is created between two shapes.  The add event is called when the connection line first appears on the screen, but there is no event to capture when the connection is made to another shape.  

This would be extremely helpful when users are creating flow charts and assigning prerequisites by drawing connections.  
3 comments
ADMIN
Telerik Admin
Posted on: 28 Apr 2015 16:53
Per the documentation, this even should be raised when the users saves a shape or a connection.
Imported User
Posted on: 27 Apr 2015 23:24
Yes but the save event doesn't get called when the connection is made.

I'm not even sure how the save event ever gets called?  
ADMIN
Telerik Admin
Posted on: 27 Apr 2015 09:35
Thanks for the suggestion, Josh.

Note that the diagram widget also exposes save event (http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#events-save), and in its event handle you have a reference to the data item to which the connection is bound. Feel free to utilize it if applicable for your scenario.