JavaScript Reference :: TableRow

A TableRow can be retrieved directly from the HTML by using the getElementByTagName method, however, a much more common and useful technique is to associate a TableRow with a specific Table object.

methods

void deleteCell(int index)
Deletes the cell at the specified index.
TableCell insertCell(int index)
Inserts a new cell at the specified index. Specifying an index of 0 inserts a new row at the beginning of the row, while specifying an index of -1 inserts a new row at the end of the row.

properties

align
The horizontal alignment within the row.
cells
An array of all the cells within the row.
id
The HTML id of the row.
innerHTML
The HTML within the row tags.
rowIndex
The array element index of the row within the table. (See the rows property of the Table object.) There is a similar W3C property called sectionRowIndex that is not currently supported by the primary browsers.
vAlign
The vertical alignment within the row.

events

onblur
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onfocus
onmousedown
onmouseout
onmouseover
onmouseup