Help Center

Local Navigation

Object: HTMLTableSectionElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLTableSectionElement object represents a <tbody>, <tfoot>, or <thead> element in an HTML document.

The <tbody> element specifies a table body section. The <tfoot> and <thead> elements specify the table footer and table header, respectively.

HTMLTableSectionElement 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 the distance between the alignment character and the first adjacent character.

writable

DOM 2 HTML

4.6 or later

rows

HTMLCollection

Returns an index of the rows contained within the table section, starting at 0.

read only

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

HTMLTableSectionElement methods

Method name

Description

Support level

Availability

deleteRow()

Removes the row at the given index position from the table section.

DOM 2 HTML

4.6 or later

insertRow()

Inserts a new empty row into the table section at the given index position.

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.