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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Knockoutjs Adding and Removing Elements

Thread ID:

Created:

Updated:

Platform:

Replies:

117625 Nov 18,2014 05:45 PM UTC Sep 4,2015 05:17 AM UTC JavaScript 7
loading
Tags: ejDiagram
Hostilio
Asked On November 18, 2014 05:45 PM UTC

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

Shyam G [Syncfusion]
Replied On 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


Marcus Tonini
Replied On August 31, 2015 05:56 PM UTC

Hello,

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

Shyam G [Syncfusion]
Replied On 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

Marcus Tonini
Replied On September 1, 2015 12:46 PM UTC

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

Shyam G [Syncfusion]
Replied On September 2, 2015 04:12 AM UTC

  Hi Marcus,

  We will wait to hear from you.

  Regards,
  Shyam G

Marcus Tonini
Replied On 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.

Ramya Jayapandi [Syncfusion]
Replied On September 4, 2015 05:17 AM UTC

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;