Is there a way to unselect the current node in a dynatree?
node.deactivate(); // not effective
node.focus(false); // this method does not exist
I attempted to eliminate the classes that indicate the focused/activated node :
While this approach did work, it completely disrupted the CSS styling of the tree :
$("#tree span").removeClass();
Unfortunately, this alternative was unsuccessful despite meticulous examination of the class names :
$("#tree span").removeClass("dynatree-active dynatree-focused");
The question remains: how can you deselect an active node and remove the visual highlight? Thank you.