cellIndex Property | Internet Development Index |
Retrieves the position of the object in the cells collection of a row.
Syntax
HTML N/A Scripting [ iIndex = ] object.cellIndex
Possible Values
iIndex Integer that receives the position of the object. The property is read-only. The property has no default value.
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.
Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
TD, TH
See Also
rowIndex, sectionRowIndex, sourceIndex