MSHTML Classes: CTable

An instance of the CTable class is created for each TABLE tag.

Identifiers

coclass: HTMLTable {3050F26B-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLTable {3050F532-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CTable class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.

Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted yellow. Properties that are listed but not as applying to the table element are shaded yellow.

Property Attribute Interface Member
align same IHTMLTable get_align
put_align
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
background same IHTMLTable get_background
put_background
bgColor same IHTMLTable get_bgColor
put_bgColor
border same IHTMLTable get_border
put_border
borderColor same IHTMLTable get_borderColor
put_borderColor
borderColorDark same IHTMLTable get_borderColorDark
put_borderColorDark
borderColorLight same IHTMLTable get_borderColorLight
put_borderColorLight
caption   IHTMLTable get_caption
cellPadding same IHTMLTable get_cellPadding
put_cellPadding
cells   IHTMLTable2 get_cells
cellSpacing same IHTMLTable get_cellSpacing
put_cellSpacing
childNodes   IHTMLDOMNode get_childNodes
cloneNode   IHTMLDOMNode cloneNode
cols same IHTMLTable get_cols
put_cols
createCaption   IHTMLTable createCaption
createTFoot   IHTMLTable createTFoot
createTHead   IHTMLTable createTHead
dataFld   IHTMLDataBinding get_dataFld
put_dataFld
dataFormatAs   IHTMLDataBinding get_dataFormatAs
put_dataFormatAs
dataPageSize same IHTMLTable get_dataPageSize
put_dataPageSize
dataSrc   IHTMLDataBinding get_dataSrc
put_dataSrc
deleteCaption   IHTMLTable deleteCaption
deleteRow   IHTMLTable deleteRow
deleteTFoot   IHTMLTable deleteTFoot
deleteTHead   IHTMLTable deleteTHead
firstChild   IHTMLDOMNode get_firstChild
firstPage   IHTMLTable2 firstPage
frame same IHTMLTable get_frame
put_frame
hasChildNodes   IHTMLDOMNode hasChildNodes
height same IHTMLTable get_height
put_height
insertBefore   IHTMLDOMNode insertBefore
insertRow   IHTMLTable insertRow
lastChild   IHTMLDOMNode get_lastChild
lastPage   IHTMLTable2 lastPage
moveRow   IHTMLTable2 moveRow
nextPage   IHTMLTable nextPage
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousPage   IHTMLTable previousPage
previousSibling   IHTMLDOMNode get_previousSibling
refresh   IHTMLTable refresh
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
rows   IHTMLTable get_rows
rules same IHTMLTable get_rules
put_rules
summary same IHTMLTable3 get_summary
put_summary
swapNode   IHTMLDOMNode swapNode
tBodies   IHTMLTable get_tBodies
tFoot   IHTMLTable get_tFoot
tHead   IHTMLTable get_tHead
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
width same IHTMLTable get_width
put_width