-
contentView
-
Type:
nsITreeContentView
-
For trees built with a content builder - that is, those that do not have
flags
set -- thecontentView
will be a reference to thensITreeContentView
for the tree. This interface lets you retrieve the DOM element corresponding to a given a row index and vice versa. For trees that are not built with a content builder, the functions ofnsITreeContentView
will not be available, since there are no DOM nodes to retrieve. In newer versions of Mozilla, thecontentView
property is actually a synonym for theview
property, since the two interfaces are flattened together into a single interface in JavaScript. This property is read-only.