custom grouping

Hi,

I wanted to know whether it is possible to accomplish the following:
in case new connection is being added / removed to / from any node I need to handle this event and store / remove the connection ( represented by custom entity-class) to / from the database

Any considerations are appreciated

Thanks a lot,
Bork


4 Replies

MA MagicXtr November 28, 2008 12:01 PM UTC

I am sorry, the subject is not actually what I mean - this is for another post. Unfortunatly, I don't know how to edit the subject




AD Administrator Syncfusion Team December 1, 2008 03:09 PM UTC

Hi Bork,

Yes, its is possible for you to handle the event of connections being added or removed to and from a node, using the ConnectionChanging event handler in the Model.EventSink.

Similarly, the sample file is provided in the following location:

****
C:\Users\ajeetm\Documents\Syncfusion\EssentialStudio\6.4.0.15\Windows\Diagram.Windows\Samples\2.0\User Interaction\Expander
****

This sample shows how the nodes and connectors are read from the "Employees.XML" file.

Let me know if this helps.

Happy Coding!

- Ajeet


>Hi,

I wanted to know whether it is possible to accomplish the following:
in case new connection is being added / removed to / from any node I need to handle this event and store / remove the connection ( represented by custom entity-class) to / from the database

Any considerations are appreciated

Thanks a lot,
Bork





MA MagicXtr December 2, 2008 08:40 AM UTC

Thanks a lot. This is exactly what I wanted. In addition, is there any possibility to handle this event by node (not by model)?



AD Administrator Syncfusion Team December 2, 2008 12:40 PM UTC

Hi Bork,

I am afraid, but because Model contains all the elements, the event could be triggered only from Model and not Node.

Happy Coding!

- Ajeet



>Thanks a lot. This is exactly what I wanted. In addition, is there any possibility to handle this event by node (not by model)?




Loader.
Up arrow icon