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.
Unfortunately, activation email could not send to your email. Please try again.

Knockoutjs Adding and Removing Elements

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 12:31 AM

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 01:56 PM

Hello,

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

Shyam G [Syncfusion]
Replied On September 1, 2015 07:48 AM

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 08:46 AM

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

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

  Hi Marcus,

  We will wait to hear from you.

  Regards,
  Shyam G

Marcus Tonini
Replied On September 3, 2015 09:52 AM

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 01:17 AM

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.

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.

;