XULTreeView.saveBranchState Member
Syntax
object.saveBranchState(target, source, recurse);
Arguments
Argument | Summary |
---|---|
target | |
source | |
recurse |
Returns
Remarks
See Also
Source Code
function xtv_savebranch (target, source, recurse)
{
var len = source.length;
for (var i = 0; i < len; ++i)
{
if (source[i].isContainerOpen)
{
target[i] = new Object();
target[i].name = source[i]._colValues["col-0"];
if (recurse)
this.saveBranchState (target[i], source[i].childData, true);
}
}
}