Greetings,
Been troubleshooting this all day, and I finally keyed in the proper search terms to stumble across this thread ... and thank you, Alex, for posting, as this has been driving me nuts!
So, I am using Q2 2009, and I am getting the same results for using .get_nodes().remove(node). Alex is correct, as I made the assumption that an event name "OnClientNodeEdited" indicates that editing has completed and that I should be able to remove a node if the tree is available. To test that the tree is available, I set an alert('node count = ' + tree.get_nodes().get_count()) inside my ClientNodeEdited event handler, and it yields the correct # of nodes every time, but it throws a js error when I attempt a .remove(node) action in this event; the error is " 'this.get_treeView()' is null or not an object ".
Will this be corrected, or am I just missing the concept behind when .remove(node) is allowed?
Thanks in advance!