rowIndex property

[This documentation is preliminary and is subject to change.]

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


HRESULT value = object.get_rowIndex(* p);

Property values

Type: long

long that specifies the index number.

Standards information


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






Build date: 6/12/2012