The IHTMLTableRow interface specifies a row in a table.
IHTMLTableRow Methods
deleteCell Removes a cell and all its contents from the row. get_align Displays the element left-aligned, right-aligned, or centered relative to the display or table. get_bgColor Retrieves the background color behind the element. get_borderColor Retrieves the border color and must be used with the border property. get_borderColorDark Retrieves independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorLight, and must be used with the border property. get_borderColorLight Retrieves independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorDark, and must be used with the border property. get_cells Retrieves a collection of all cells in the row of a table. This is a collection of TH and TD elements. get_rowIndex Returns the zero-based position index of this row relative to the table. get_sectionRowIndex Returns the zero-based index of this row with respect to the section that this is in (that is, the rowIndex of the first row in this section). get_vAlign Retrieves how the text and other content of an element is vertically aligned within the element. insertCell Inserts an empty cell into this row. The cell is inserted at the zero-based index passed into the table. If -1, or the size of the cells collection for this row is passed in, the cell is appended and a pointer to the cell created is returned. put_align Displays the element left-aligned, right-aligned, or centered relative to the display or table. put_bgColor Sets the background color behind the element. put_borderColor Sets the border color and must be used with the border property. put_borderColorDark Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorLight, and must be used with the border property. put_borderColorLight Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorDark, and must be used with the border property. put_vAlign Sets how the text and other content of an element is vertically aligned within the element.
Interface Information
Implementation System (Mshtml.dll) Inherits from IDispatch Header and IDL files Mshtml.h, Mshtml.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Remarks
Within a row, the TD and TH tags are valid.
The TR element is a block element.