A treeitem should be placed inside a treechildren element and should contain treerow elements. The treeitem can be clicked by the user to select the row of the tree. The treeitem contains a single row and all of what appear to the user as that row's descendants.
Attributes:
Attributes inherited from XUL Element
Set to true if the element is to act as a container which can have child elements. This would be used for folders. This will be set by the template builder as needed.
If true, the treeitem is open, allowing child elements to be displayed.
Indicates whether the treeitem is selected or not.
Properties and Methods:
Properties and Methods inherited from XUL Element
Collapses the item so that its child rows are hidden.
Expands the item so that its child rows are visible.
Toggles the open state of the item. If the item is closed, it is expanded so that its child rows are visible. If the item is opened, it is collapsed so that its child rows are hidden.