bind("rename.jstree", function (event, data) { 
$("#treeDiv").jstree._focused().get_selected().rename(); 
)} 
Is not working while I am trying to rename开发者_C百科 a node.
If anyone knows please let me know.
Try
.bind("rename_node.jstree", function (NODE, REF_NODE) {
// Do your operation
})
I found that if you put styling tags such as <b> </b> in the <li> item it prevents the rename. Make sure any styling is applied through css if this is the problem, and that should fix it. Also try using $("#demo1").jstree("rename",node);
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论