Hello,
I have an odd problem with the deleteItem not working in a tree. I have the following code.
asset_tree.deleteItem(nodeid, false);
nodeid is created in the following way
var nodeid=“ass”+helloMessage2[1];
if I do alert(nodeid) I get the correct nodeid.
If I do
var temp=asset_tree.getAllChildless();
alert(temp);
I can see that the nodeid does exist within the tree. However it not delete by the line above. I get no error messages, the node is just left there?
Can yuo see anything I am doing wrong?
Many thanks
Scott
Please, check that all ids are unique.
If the preoblem still persits, please provide the code where it can be recreated.