TR.sectionRowIndex (Property)

A zero-based integer that indicates which row of the table this <TR> block represents.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myTR.sectionRowIndex

The TR.sectionRowIndex property is the vertical coordinate for cells in this row measured within a THEAD, TBODY or TFOOT group and is reset to zero at the start of each section of the table.

This property yields a zero-based index number for this table row within the rows[] collection belonging to the THEAD, TBODY or TFOOT object the row is a member of.

Note that this index will not hold true for the rows[] collections belonging to TABLE object. For that, you should inspect the rowIndex property.

See also:TR.rowIndex

Property attributes: