My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 347: Ability to replace a node (especially via AJAX)
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by robertmi...@gmail.com, Aug 11, 2012
What new or enhanced feature are you proposing?

Ability to 'replace' a node. At present it looks like you can reload a node's children and change its title. You can even manually remove it and then add it again but it would be nice if you could simple replace it with a new node tree. Best way I can see is to reload it's parent's children but if it hasn't a parent we are in trouble.

What goal would this enhancement help you achieve?

Often a number of properties of the node's 'Model' have changed and the node needs to be reloaded from the server to render with correct title and properties/styles attached.


Aug 12, 2012
Project Member #1 moo...@wwwendt.de
For the next major release I thought about adding an applyPatch() method to modify one or more nodes.
Until then you may try set the node.data attributes directly, and then call node.render()?
Status: Accepted
Labels: Milestone-Release1.3
Aug 12, 2012
#2 robertmi...@gmail.com
Great. I will try that approach. Cheers.
Oct 7, 2012
Project Member #3 moo...@wwwendt.de
This issue is addressed with Dynatree 2.0 ('fancytree')
Jan 26, 2013
Project Member #4 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: -Milestone-Release1.3 Milestone-Release2.0
May 1, 2014
Project Member #5 moo...@wwwendt.de
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree
Status: WontFix

Powered by Google Project Hosting