I am using fancytree to render a directory, and when the user selects a node in the fancytree, I want to deactivate it. I've been searching through the apis and came across setActive(false) which I thought would do the trick. But it doesn't work. In fact, the user can still select the node, expand, etc...
node.setActive() // not working
Does anyone the correct way to disable a node in fancytree?