http://wwwendt.de/tech/dynatree/index.html
Is it possible to disable individual nodes? If so, how?
Currently there's only the 'unselectable' node attribute. A workaround could be to let the onQueryActivate callback return false. And maybe add a custom class using the 'addClass' node option, to change the visual appearance.