XULTreeView.isContainerEmpty Member

Internal.

Syntax

object.isContainerEmpty(index);

Arguments

ArgumentSummary
index

Returns

Remarks

See Also

Source Code

function xtv_isctrempt (index)
{
var row = this.childData.locateChildByVisualRow (index);
if ("alwaysHasChildren" in row)
return false;
if (!row || !("childData" in row))
return true;
return !row.childData.length;
}