HTMLTableRowElement

Availability

BlackBerry Device Software version 4.6 or later

Extends

HTMLElement

The HTMLTableRowElement object represents a <tr> element in an HTML document.

The <tr> element specifies a table row.

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

bgColor

DOMString

Specifies the background color for the table cell.

writable

DOM 2 HTML

4.6 or later

cells

HTMLCollection

Returns an index of the table cells contained within the table row, starting at 0.

read only

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

rowIndex

int

Returns the index position of the row in the parent table’s HTMLTableElement.rows array.

read only

DOM 2 HTML

4.6 or later

sectionRowIndex

int

Returns the index position of the row in the parent table section’s HTMLTableSectionElement.rows array.

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

Methods

Method name

Description

Support level

Availability

deleteCell()

Removes the table cell at the given index position.

DOM 2 HTML

4.6 or later

insertCell()

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

DOM 2 HTML

4.6 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus