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 384: input box as a html string for the nodes title-data gets reset when node is expanded
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by aay...@gmail.com, Nov 27, 2012
When I try to place a input box as a html string of node's title, it resets the data when its expanded or interected. Also, this only works inside chrome browser. Mozilla does not let me even alter the value.

[sample code]
var rootNode = $("#tree").dynatree("getRoot");
html = "<a class='dynatree-title' href='#'>";        
html += "<label>test</label><input type='number' value=4 id='testnum' min=0 max=18 step=1 size=1>";
html += "</a>";
    
var newHoleNode = rootNode.addChild({title: html,  key: 5 });
    


I am using the headers from the sample code itself
<script type='text/javascript' src="http://dynatree.googlecode.com/svn/trunk/src/jquery.dynatree.js"></script>
<link rel="stylesheet" type="text/css" href="http://wwwendt.de/tech/dynatree/src/skin-vista/ui.dynatree.css">

Please help me with this issue !!!!!
    

Nov 27, 2012
#1 aay...@gmail.com
"Also, this only works inside chrome browser"
This means I am able to edit the input values using chrome browser but the values DOES GET RESET when expanded. 
May 1, 2014
Project Member #2 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 #3 moo...@wwwendt.de
Cleanup Scrumboard
Labels: Milestone-Release2.0

Powered by Google Project Hosting