Defines the properties and methods inherited by objects in the HTMLTableRowElement prototype chain.
HTML N/A Scripting HTMLTableRowElement.prototype
The following table lists the members exposed by the HTMLTableRowElement Constructor object.
Attribute Property Description ALIGN align Sets or retrieves the alignment of the object relative to the display or table. BGCOLOR bgColor Deprecated. Sets or retrieves the background color behind the object. borderColorDark Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object. borderColorLight Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object. CH ch Gets or sets a value that you can use to implement your own ch functionality for the object. CHOFF chOff Gets or sets a value that you can use to implement your own chOff functionality for the object. rowIndex Retrieves the position of the object in the rows collection for the table. sectionRowIndex Retrieves the position of the object in the tBody, tHead, tFoot, or rows collection. VALIGN vAlign Sets or retrieves how text and other content are vertically aligned within the object that contains them.
Collection Description cells Retrieves a collection of all cells in the table row or in the entire table.
Method Description deleteCell Removes the specified cell (td) from the table row, as well as from the cells collection. insertCell Creates a new cell in the table row (tr), and adds the cell to the cells collection.
For more information on this and other DOM Prototypes , see Document Object Model Prototypes, Part 1: Introduction.
This prototype derives from the Element Constructor.