Export (0) Print
Expand All

rowIndex property

Retrieves the position of the object in the rows collection for the table.

Syntax

HRESULT value = object.get_rowIndex(* p);

Property values

Type: long

long that specifies the index number.

Standards information

Remarks

This property is different from IHTMLTableRow::sectionRowIndex, which indicates the object's position in the tBody, tHead, or tFoot rows collection. These sections are mutually exclusive, so the tr is always contained in one of these sections and in the table. You can determine the IHTMLTableRow::rowIndex property of an object by the order in which the object appears in the HTML source.

See also

Reference
IHTMLTableCell::cellIndex
IHTMLElement::sourceIndex

 

 

Community Additions

ADD
Show:
© 2014 Microsoft