W3cubDocs

/Haxe JavaScript

TableCellElement

package js.html

extends ElementDOMElementNodeEventTarget

Available on js

The HTMLTableCellElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.

Documentation HTMLTableCellElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

abbr:String

align:String

Is a DOMString containing an enumerated value reflecting the align attribute. It indicates the alignment of the element's contents with respect to the surrounding context. The possible values are "left", "right", and "center".

axis:String

Is a DOMString containing a name grouping cells in virtual. It reflects the obsolete axis attribute.

bgColor:String

Is a DOMString containing the background color of the cells. It reflects the obsolete bgColor attribute.

read only cellIndex:Int

Is a long representing the cell position in the cells collection of the tr it belongs to. If the cell doesn't belong to a tr, it returns -1.

ch:String

Is a DOMString containing one single chararcter. This character is the one to align all the cell of a column on. It reflects the char and default to the decimal points associated with the language, e.g. '.' for English, or ',' for French. This property was optional and was not very well supported.

chOff:String

Is a DOMString containing a integer indicating how many characters must be left at the right (for left-to-right scripts; or at the left for right-to-left scripts) of the character defined by HTMLTableCellElement.ch. This property was optional and was not very well supported.

colSpan:Int

Is a unsigned long that represents the number of columns this cell must span. It reflects the colspan attribute.

headers:String

Is a DOMSettableTokenList describing a list of id of th elements that represents headers associated with the cell. It reflects the headers attribute.

height:String

Is a DOMString containing a length of pixel of the hinted height of the cell. It reflects the obsolete height attribute.

noWrap:Bool

Is a Boolean value reflecting the nowrap attribute and indicating if cell content can be broken in several lines.

rowSpan:Int

Is a unsigned long that represents the number of rows this cell must span. It reflects the rowspan attribute.

scope:String

vAlign:String

Is a DOMString representing an enumerated value indicating how the content of the cell must be vertically aligned. It reflects the valign attribute and can have one of the following values: "top", "middle", "bottom", or "baseline".

width:String

Is a DOMString containing a length of pixel of the hinted width of the cell. It reflects the obsolete width attribute.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/TableCellElement.html