XULTreeViewRecord.findContainerTree Member
walk the parent tree to find our tree container. return null if there is none
Syntax
object.findContainerTree();
Returns
Remarks
See Also
Source Code
function xtvr_gettree ()
{
if (!("parentRecord" in this))
return null;
var parent = this.parentRecord;
while (parent)
{
if ("_treeView" in parent)
return parent._treeView;
if ("parentRecord" in parent)
parent = parent.parentRecord;
else
parent = null;
}
return null;
}