angular-tree-control
angular-tree-control copied to clipboard
How to prevent from branch node selection, I just want to select files
It's in the docs' events section
In order to prevent selection of branches (folders) in the tree, set the
options.dirSelectable
tofalse
. Clicking folder labels at this point will expand and contract the node.