Mozilla XUL Element and Script Reference

Contents  Quick Reference

Outliner

The outliner displays tabular text data. It is a simpler version of the tree but can handle larger numbers of rows more efficiently. The outliner should contain one or more outlinercol elements, and one outlinerbody elements. You can also place splitter elements between the columns to allow column resizing.

The outliner content is calculated via a script object which you supply and assign to the outliner. This object should contain functions which calculate cell data. The content may also be generated via an RDF datasource with a template, in which case one can also use the outlinerrow and outlinercell elements.

Attributes:

Attributes inherited from XUL Element

seltype

Used to indicate whether multiple selection is allowed.

Properties and Methods:

Properties and Methods inherited from XUL Element

currentIndex

Set to the index of the currently selected row in the outliner. If no row is selected, the value will be -1. You can assign a value to this property to change the selected row.