![[Collapse]](/ASPxTreeListDemos/DXR.axd?r=1_5-s9Rw4) | | Corporate Headquarters | $1,000,000.00 | Monterey |
| | ![[Collapse]](/ASPxTreeListDemos/DXR.axd?r=1_5-s9Rw4) | | Sales and Marketing | $22,000.00 | San Francisco |
| | | | | Field Office: Canada | $500,000.00 | Toronto |
| | | | | Field Office: East Coast | $500,000.00 | Boston |
| | | ![[Expand]](/ASPxTreeListDemos/DXR.axd?r=1_5-s9Rw4) | | Pacific Rim Headquarters | $600,000.00 | Kuaui |
| | | | | Marketing | $1,500,000.00 | San Francisco |
| | | | Finance | $40,000.00 | Monterey |
| | ![[Collapse]](/ASPxTreeListDemos/DXR.axd?r=1_5-s9Rw4) | | Engineering | $1,100,000.00 | Monterey |
| | | ![[Expand]](/ASPxTreeListDemos/DXR.axd?r=1_5-s9Rw4) | | Consumer Electronics Div. | $1,150,000.00 | Burlington, VT |
| | | ![[Expand]](/ASPxTreeListDemos/DXR.axd?r=1_5-s9Rw4) | | Software Products Div. | $1,200,000.00 | Monterey |
|
To allow end-users to select nodes, enable the SettingsSelection.Enabled option.
Nodes will display selection cells that contain check boxes. End-users can check or uncheck these check boxes to
select or unselect the corresponding nodes.
To enable end-users to select all nodes displayed within the ASPxTreeList, set the
SettingsSelection.AllowSelectAll property to true. This displays a check box within the column
header panel used to select/de-select all nodes. In this demo, to show/hide this check box,
use 'Show Select All check box'.
The ASPxTreeList supports recursive node selection, which is enabled by the SettingsSelection.Recursive option.
When recursive selection is enabled:
- a parent node is automatically selected, if all its child nodes are selected.
Deselecting a child node automatically unselects its parent node(s);
- selecting a parent node automatically selects all its children.
In this demo, use the 'Recursive' check box to enable/disable recursive selection.
The number of selected nodes is displayed below the ASPxTreeList.