Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nirmala on Oct 13, 2008 23:21
open dhtmlx forum
dhtml-tree

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");

};
Answer posted by Support on Oct 14, 2008 01:50
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 )