The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
cellIndex property
Retrieves the position of the object in the cells collection of a row.
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
the position of the object.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
Collection indexes are in the source order of the HTML document. When a cell spans multiple rows, that cell only appears in the cells collection for the first row that the cell spans.
See also
- td
- th
- Reference
- rowIndex
- sectionRowIndex
- sourceIndex
Show: