XULTreeView.getParentIndex Member
Internal.
Syntax
object.getParentIndex(index);
Arguments
Argument | Summary |
---|---|
index |
Returns
Remarks
See Also
Source Code
function xtv_getpi (index)
{
if (index < 0)
return -1;
var row = this.childData.locateChildByVisualRow (index);
var rv = row.parentRecord.calculateVisualRow();
//dd ("getParentIndex: row " + index + " returning " + rv);
return (rv != null) ? rv : -1;
}