Help Center

Local Navigation

Object: HTMLTableColElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLTableColElement object represents the <col> and <colgroup> elements in an HTML document.

The <col> element defines the attributes for one or more columns in a table. The <colgroup> element defines groups of table columns. These elements are not supported by the BlackBerry® Browser.

HTMLTableColElement is supported in the BlackBerry Browser’s JavaScript® implementation to conform with HTML DOM Level 2 specification. However, <col> and <colgroup> elements will not be visually displayed in the browser and will not have any impact on the document layout.

HTMLTableColElement properties

Property name

Type

Description

Status

Support level

Availability

align

DOMString

Specifies the horizontal alignment of the cell data.

writable

DOM 2 HTML

4.6 or later

ch

DOMString

Specifies the alignment character for cells in a column.

writable

DOM 2 HTML

4.6 or later

chOff

DOMString

Specifies the distance between the alignment character and the first adjacent character.

writable

DOM 2 HTML

4.6 or later

span

int

Specifies the number of columns included in a column group.

writable

DOM 2 HTML

4.6 or later

vAlign

DOMString

Specifies the vertical alignment of the content within the table cell.

writable

DOM 2 HTML

4.6 or later

width

DOMString

Specifies the width of the table cell.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.