XULTreeViewRecord.hide Member

hide this record and all descendants.

Syntax

object.hide();

Returns

Remarks

See Also

Source Code

function xtvr_hide ()
{
if (this.isHidden)
return;
/* get the row before hiding */
var row = this.calculateVisualRow();
this.invalidateCache();
this.isHidden = true;
/* go right to the parent so we don't muck with our own visualFootprint
* record, we'll need it to be correct if we're ever unHidden. */
if ("parentRecord" in this)
this.parentRecord.onVisualFootprintChanged (row, -this.visualFootprint);
}