IHTMLTable interface
This interface specifies that the contained content is organized into a table with rows and columns.
Members
The IHTMLTable interface inherits from the IDispatch interface. IHTMLTable also has these types of members:
- Methods
- Properties
Methods
The IHTMLTable interface has these methods.
Method | Description |
---|---|
createCaption | |
createTFoot | |
createTHead | |
deleteCaption | Deletes the caption element and its contents from the table. |
deleteRow | Removes the specified row (tr) from the element and from the rows collection. |
deleteTFoot | |
deleteTHead | |
insertRow | Creates a new row (tr) in the table, and adds the row to the rows collection. |
nextPage | Displays the next page of records in the data set to which the table is bound. |
previousPage | Displays the previous page of records in the data set to which the table is bound. |
refresh | Refreshes the content of the table. This might be necessary after a call to a method such as IHTMLStyleSheet::removeRule, when the page does not automatically reflow. |
Properties
The IHTMLTable interface has these properties.
Property | Description |
---|---|
Sets or retrieves a value that indicates the table alignment. |
|
Sets or retrieves the background picture tiled behind the text and graphics in the object. |
|
Deprecated. Sets or retrieves the background color behind the object. |
|
Sets or retrieves the width of the border to draw around the object. |
|
Sets or retrieves the border color of the object. |
|
Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object. |
|
Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object. |
|
Sets or retrieves the amount of space between the border of the cell and the content of the cell. |
|
Sets or retrieves the amount of space between cells in a table. |
|
Sets or retrieves the number of columns in the table. |
|
Sets or retrieves the number of records displayed in a table bound to a data source. |
|
Sets or retrieves the way the border frame around the table is displayed. |
|
Sets or retrieves the height of the object. |
|
Retrieves a value that indicates the current state of the object. |
|
Sets or retrieves which dividing lines (inner borders) are displayed. |
|
Retrieves an IHTMLTableSection pointer to the foot section of a table. | |
Retrieves an IHTMLTableSection pointer to the head section of a table. | |
Sets or retrieves the width of the object. |
Remarks
Valid tags within a table include caption, col, colGroup, tBody, tHead, tFoot, and tr.
The table 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
Reference