Two-State and Three-State Checkboxes
With DHTMLX Tree you can attach checkboxes for tree items and also get an array of all
checked items. In addition to standard two-state controls that allow checking and unchecking
items, it includes three-state checkboxes. They have an intermediate state when just
some children of a parent item are checked.