The TR.rowIndex property is the vertical coordinate for cells in this row measured across the entire table.
This property yields a zero-based index number for this table row within the rows[] collection belonging to the TABLE object the row is a member of.
Note that this index will not hold true for the rows[] collections belonging to THEAD, TBODY and TFOOT objects. For that, you should inspect the sectionRowIndex property.
Prev | Home | Next |
TR.insertCell() | Up | TR.sectionRowIndex |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |