sectionRowIndex property
Retrieves the position of the object in the tBody, tHead, tFoot, or rows collection.
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
Integer that specifies the index position of the object.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
The tBody, tHead, and tFoot sections are mutually exclusive, so a tr is always contained in one of these sections and in the table. The rowIndex property indicates the position of the object in the rows collection for the table. Collection indexes are in source order of the HTML document.
See also
- tr
- Reference
- cellIndex
- sourceIndex
Show: