I'm migrating to fancytree from dynatree, and what I'm missing is `classNames` config option. I found this option easiest for setting icons for whole tree.
It seems to me awkward to do some jQuery in renderNode instead of just setting it.
Note: Tree is initialized from array. Setting node.icon is not an option as data comes from server and is auto wired to tree.