Help Center

Local Navigation

Object: HTMLTableCellElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLTableCellElement object represents <td> and <th> elements in an HTML document.

The <td> element specifies a cell in a table. The <th> element specifies a table heading cell.

HTMLTableCellElement properties

Property name

Type

Description

Status

Availability

abbr

String

Specifies an abbreviated version of the cell text.

writable

4.6 or later

align

String

Specifies the horizontal alignment of the cell data.

writable

4.6 or later

axis

String

Specifies a list of category names used to organize cell content.

undefined

4.6 or later

bgColor

String

This property is not currently defined in the DOM HTML specification.

writable

4.6 or later

cellIndex

int

Returns the index position of the cell in the parent row’s HTMLTableRowElement.cells array.

read only

4.6 or later

ch

String

Specifies the alignment character for cells in a column.

writable

4.6 or later

chOff

String

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

writable

4.6 or later

colSpan

int

Specifies the number of columns the table cell spans.

writable

4.6 or later

headers

String

Specifies for which sides of the table the border will be visible.

writable

4.6 or later

height

String

Specifies the height of the table cell.

writable

4.6 or later

noWrap

boolean

When true, indicates that text is not wrapped in the cell.

writable

4.6 or later

rowSpan

int

Specifies the number of rows the table cell spans.

writable

4.6 or later

scope

String

Specifies whether the cell provides header information for the column, column group, row, or row group.

writable

4.6 or later

vAlign

String

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

writable

4.6 or later

width

String

Specifies the width of the table cell.

writable

4.6 or later


Was this information helpful? Send us your comments.