XULTreeView.toggleOpenState Member

Internal.

Syntax

object.toggleOpenState(index);

Arguments

ArgumentSummary
index

Returns

Remarks

See Also

Source Code

function xtv_toggleopen (index)
{
var row = this.childData.locateChildByVisualRow (index);
//ASSERT(row, "bogus row");
if (row)
{
if (row.isContainerOpen)
row.close();
else
row.open();
}
}