this is with respect to previous mail… as per your information adding Dynamic child ID but still getting same problem. but tree.deleteItem(“wwww”); works fine… let me know how can I add child element.
function aFunc(id){
var nid = (new Date()).valueOf();
alert(“nid”+nid+“id”+id);
tree.insertNewChild(“wwww”,nid,“aaa”,0,0,0,0,“SELECT”);
};
The code which you are using is correct and works without any problems in local samples. �( working sample sent by email )If it still cause some issues - please send any kind of sample where it can be reconstructed ( you can send it directly to support@dhtmlx.com )