IHTMLTableRow interface

The IHTMLTableRow interface specifies a row in a table.

Members

The IHTMLTableRow interface inherits from the IDispatch interface. IHTMLTableRow also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLTableRow interface has these methods.

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.

 

Properties

The IHTMLTableRow interface has these properties.

Property Description

align

Sets or retrieves the alignment of the object relative to the display or table.

bgColor

Deprecated. Sets or retrieves the background color behind the object.

borderColor

Sets or retrieves the border color of 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.

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

Sets or retrieves how text and other content are vertically aligned within the object that contains them.

 

Remarks

Within a row, the td and th tags are valid.

The tr element is a block element.

Windows Internet Explorer 8 will only render tables up to 1000 columns. To force Windows Internet Explorer 7 rendering mode, see How Do I Take Advantage of the New Features in Internet Explorer 8.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLTableRow2

IHTMLTableRow3