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 436: ReloadChildren with callback doesn't work.
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by izik.g...@gmail.com, Jun 10, 2013
What steps will reproduce the problem?
1. I am adding a node to the tree.
2. As all the nodes are LazyNodes, I am calling to an ajax request to display the new node.
3. When I am reloading the node (reloadChildren) , I would like to use the callback function, but it doesn't fire it...

4. In the example below, I would like to display a console log of the node, but I don't get anything.

5. The application goes to the success (checked with console log to see result). 

$.ajax( {
		type: "POST",
		url: application.applicationBaseUrl + url + "/relationships/Subnets", 
		contentType: "application/json",
		dataType: "json",
		success: function( response ) {				
                console.log (response);								
 
		activeNode.reloadChildren(function(this, isOk){
		   console.log("Node " + node + " could not be reloaded.");
			});
}

What am I doing wrong?
May 1, 2014
Project Member #1 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
May 2, 2014
Project Member #2 moo...@wwwendt.de
Cleanup Scrumboard
Labels: Milestone-Release2.0

Powered by Google Project Hosting