XUL Programmer's Reference Manual | ||||||||||||
<treechildren> | ||||||||||||
|
||||||||||||
The <treechildren> element is one of the major containers in a tree
widget, typically sitting just under the main <tree>
element. Treechildren is the parent of elements that actually appear in
the tree (as opposed to <treehead>, which
normally contains non-visible elements).
Note that it is important to include the flex attribute on the treechildren: items that are children of the <treechildren> widget may not overflow or display properly without the proper flex.
|
||||||||||||
open | ||||||||||||
DescriptionThe open attribute specifies whether a given treechildren element is expanded or compacted. Syntax<treechildren open="true | false" /> Example<tree> <treeheader></treeheader> <treechildren flex="1" id="Main" open="true"> <treeitem ... ... </treechildren> </tree> NotesYou can persist the open attribute of a treechildren element in order to preserve the state of a treechildren when the application is closed.
|
Last updated: 6/30/00 Ian Oeschger