XULTreeView.getCellText Member
Internal.
Syntax
object.getCellText(index, col);
Arguments
Argument | Summary |
---|---|
index | |
col |
Returns
Remarks
See Also
Source Code
function xtv_getcelltxt (index, col)
{
var row = this.childData.locateChildByVisualRow (index);
//ASSERT(row, "bogus row " + index);
if (typeof col == "object")
col = col.id;
var ary = col.match (/:(.*)/);
if (ary)
col = ary[1];
if (row && row._colValues && col in row._colValues)
return row._colValues[col];
else
return "";
}