This example shows simple checkbox selection in a tree. It is enabled on leaf nodes by simply setting checked:true/false at the node level.
This example also shows loading an entire tree structure statically in one load call, rather than loading each node asynchronously.
The js is not minified so it is readable. See check-tree.js.