Add a readonly attribute to tree.
if readOnly, all checkboxes render disabled.