We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Knockoutjs Adding and Removing Elements

Hello,

Having a Issue deleting items from a ejDiagram.

Example code attached.

Action with issue:  <button class="btn btn-sm btn-warning" data-bind='click: quitarDiagrama'>Quitar</button>

Items are removed from collection and then set to ejDiagram knockout but diagram do not update.

There is no issue at inserting new items.

Thanks

Attachment: test_97e8d2d5.zip

7 Replies

SG Shyam G Syncfusion Team November 20, 2014 05:31 AM UTC

Hi Hostilio

Thanks for using Syncfusion products.

Please note that currently we don’t have Ko and angular support for collection of nodes and connectors properties. We have already logged a feature with “Ko and Angular support for collection of nodes and connectors” and it will be implemented in our upcoming release volume 4 2014, which is scheduled to release in the end of December. Please refer the incident 132167  for more details regarding this feature.

Please let me know if any concerns.

Regards,

Shyam G



MT Marcus Tonini August 31, 2015 05:56 PM UTC

Hello,

Was this ever implemented?  Are there any examples using AngularJs?


SG Shyam G Syncfusion Team September 1, 2015 11:48 AM UTC

Hi Hostilio

We have already implemented this feature “Ko and Angular support for collection of nodes and connectors”. However we have created a simple sample in which we can add the node and connector at run time through angular binding. We have provided the sample in JSPlayground which is available in the below link. Also please refer the below video for your reference.

JSPlayground link:http://jsplayground.syncfusion.com/2lz40vif

Here is the video

Video:http://www.syncfusion.com/downloads/support/directtrac/131468/angularbindingvideo1008092576.zip

Regards,
Shyam G


MT Marcus Tonini September 1, 2015 12:46 PM UTC

Thanks Shyam.  This looks very helpful.  I will try this out today.


SG Shyam G Syncfusion Team September 2, 2015 04:12 AM UTC

  Hi Marcus,

  We will wait to hear from you.

  Regards,
  Shyam G


MT Marcus Tonini September 3, 2015 01:52 PM UTC

Thanks again.  The attached JSPlayground link helped clear up my understanding.

I have adding/removing nodes working in my project using AngularJs.


RJ Ramya Jayapandi Syncfusion Team September 4, 2015 05:17 AM UTC

Hi Marcus,
Thanks for the update.
Regards,
Ramya J

Loader.
Up arrow icon