You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| items | ITreeItem[] | yes | An array of tree items to display. refer [example](#example-of-array-of-tree-items-used-to-render-control-as-in-first-screenshot). |
91
-
| defaultExpanded | boolean | no | Specify if the tree items are displayed as expanded by default (defaults to false). |
92
+
| defaultExpanded | boolean | no | Specify if the tree items are displayed as expanded by default (defaults to false. |
92
93
| selectionMode | enum | no | Specifies the selection mode of tree view (defaults to Single selection). |
93
94
| selectChildrenIfParentSelected | boolean | no | Specifies if the childrens should be selected when parent item is selected (defaults to false). |
94
95
| showCheckboxes | boolean | yes | Specify if the checkboxes should be displayed for selection. |
@@ -98,6 +99,7 @@ The `TreeView` control can be configured with the following properties:
98
99
| onExpandCollapse | function | no | Defines a onExpandCollapse function to raise when the tree item has expanded or collapsed. |
99
100
| onSelect | function | no | Captures the event of when the tree item selection has changed. |
100
101
| onRenderItem | function | no | Optional callback to provide custom rendering of the item (default is simple text of item label and a checkbox for selection). |
102
+
| defaultExpandedChildren | boolean | no | Default expand / collapse behavior for the child nodes. By default this is set to true. |
0 commit comments