XULTreeView.freeze Member

Changes to the tree contents will not cause the tree to be invalidated until |thaw()| is called. All changes will be pooled into a single invalidate call.

Syntax

object.freeze();

Returns

Remarks

Freeze/thaws are nestable, the tree will not update until the number of |thaw()| calls matches the number of freeze() calls.

See Also

Source Code

function xtv_freeze ()
{
if (++this.frozen == 1)
{
this.changeStart = 0;
this.changeAmount = 0;
}
//dd ("freeze " + this.frozen);
}