Added new node using the below code and not able to find a method to rename the user. Is there any way to rename added new node in the ignite tree ?
$("#firstTree").igTree("addNode", {Text: "New Node"}, selectedNode);
Hello Kavitha,
After investigating this further, I determined that the text of a node could be modified by using the “applyChangesToNode” method. Additionally the added node could be accessed by “findNodesByText”:
var node = $("#tree").igTree("findNodesByText", "New Node")[0].element;
$("#tree").igTree("applyChangesToNode", node, {Text: "New York"});
Below I am attaching a sample, demonstrating the described behavior. Please test it on your side and let me know if you need any further information regarding this matter.
Regards,
Monika Kirkova,
Infragistics
igTreeRenameNode.zip
Thank you I will try to add the method