DOM:tableRow
From MDC
[edit] HTML Table Row Element Interface
DOM table row objects expose the HTMLTableRowElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of rows in an HTML table.
[edit] Properties
- row.align
- align gets or sets the horizontal alignment of data within cells of the row.
- row.bgColor Deprecated
- bgColor gets or sets the background colour of the row.
- row.cells
- cells returns a read-only
HTMLCollectionof the cells in the row. - row.ch
- ch gets or sets the alignment character for cells in a column.
- row.chOff
- chOff gets or sets the offset of the alignment character.
- row.rowIndex
- rowIndex gets the logical order of the row within the entire table.
- row.sectionRowIndex
- sectionRowIndex gets the logical order of the row within the table section it belongs to.
- row.vAlign
- vAlign gets or sets the offset of the alignment character.
[edit] Methods
- row.deleteCell
- deleteCell deletes a cell from the row.
- row.insertCell
- insertCell inserts a new cell into the row and returns a reference to the new cell.