I need to create a tree-view which allows users to select nodes (using a checkbox). The tree-view contains two types of node, "group" and "item". A "group" node can contain both "group" and "item" nodes. An item node can't contain other nodes. Crucially selecting a group node should automatically select all node below it (to the bottom of the tree).
However, due to this last criteria I can't figure out the following behaviour (I make reference to the attached diagram).
What should the state of Group A be (checked, unchecked or indeterminate)?