MSHTML Classes: CTableCell

An instance of the CTableCell class is created for each TD or TH tag.

Identifiers

coclass: HTMLTableCell {3050F246-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLTableCell {3050F536-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CTableCell 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.

Property Attribute Interface Member
abbr same IHTMLTableCell2 get_abbr
put_abbr
align same IHTMLTableCell get_align
put_align
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
axis same IHTMLTableCell2 get_axis
put_axis
background same IHTMLTableCell get_background
put_background
bgColor same IHTMLTableCell get_bgColor
put_bgColor
borderColor same IHTMLTableCell get_borderColor
put_borderColor
borderColorDark same IHTMLTableCell get_borderColorDark
put_borderColorDark
borderColorLight same IHTMLTableCell get_borderColorLight
put_borderColorLight
cellIndex   IHTMLTableCell get_cellIndex
ch same IHTMLTableCell2 get_ch
put_ch
childNodes   IHTMLDOMNode get_childNodes
chOff same IHTMLTableCell2 get_chOff
put_chOff
cloneNode   IHTMLDOMNode cloneNode
colSpan same IHTMLTableCell get_colSpan
put_colSpan
firstChild   IHTMLDOMNode get_firstChild
hasChildNodes   IHTMLDOMNode hasChildNodes
headers same IHTMLTableCell2 get_headers
put_headers
height same IHTMLTableCell get_height
put_height
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
noWrap same IHTMLTableCell get_noWrap
put_noWrap
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
rowSpan same IHTMLTableCell get_rowSpan
put_rowSpan
scope same IHTMLTableCell2 get_scope
put_scope
swapNode   IHTMLDOMNode swapNode
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
vAlign same IHTMLTableCell get_vAlign
put_vAlign
width same IHTMLTableCell get_width
put_width