XUL Programmer's Reference Manual | ||||||||||
<treecol> | ||||||||||
|
||||||||||
<treecol> is a way of grouping together treecells
that are lined up vertically in the tree widget. Typically the child nodes
of a tree are defined row by row, and the actual column is implicit in
the vertical positioning of these items. In XUL as in HTML4.0, you can
use the <treecol> node to explicityly define a column of treecells,
which can then be styled and otherwise manipulated as a group:
The two <treecol> elements in the example above define the two columns into which all the treeitems in the table line up. Note that the top two rows are defined within a single <treeitem> element, which means that they are selected and unselected as a single unit. For more information about the structure of trees, see <tree>.
|
||||||||||
fixed | ||||||||||
DescriptionThe fixed attribute specifies whether a given treechildren element is expanded or compacted. Syntax<treecol fixed="true | false" /> Example<> NotesThe default value for the fixed attribute is "false".
|
Last updated: 4/12/00 Ian Oeschger