# class HTMLTableRowElement

###

Module | khtml
Namespace | DOM
Class | HTMLTableRowElement
Inherits | DOM::HTMLElement

A row in a table. See the TR element definition in HTML 4.0.

### methods

- HTMLTableRowElement ( )

  returns ctor

- HTMLTableRowElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLTableRowElement |

- HTMLTableRowElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLTableRowElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLTableRowElementImpl |

- align ( )

  returns DOM.DOMString

  Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.0.

- bgColor ( )

  returns DOM.DOMString

  Background color for rows. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- cells ( )

  returns DOM.HTMLCollection

  The collection of cells in this row.

- ch ( )

  returns DOM.DOMString

  Alignment character for cells in a column. See the char attribute definition in HTML 4.0.

- chOff ( )

  returns DOM.DOMString

  Offset of alignment character. See the charoff attribute definition in HTML 4.0.

- deleteCell (index)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  index | long |

  Delete a cell from the current row.

  index - The index of the cell to delete, starting from 0. If the index is -1 the last cell in the row is deleted.

  Returns

- insertCell (index)

  returns DOM.HTMLElement

  Argument | Type | Default
  --- | --- | ---
  index | long |

  Insert an empty TD cell into this row. If index is -1 or equal to the number of cells, the new cell is appended.

  index - The place to insert the cell.

  Returns The newly created cell.

- rowIndex ( )

  returns long

  The index of this row, relative to the entire table. This is in logical order and not in document order. The rowIndex does take into account sections (THEAD, TFOOT or TBODY) within the table, placing THEAD rows first in the index, followed by TBODY rows, followed by TFOOT rows.

- sectionRowIndex ( )

  returns long

  The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ).

- setAlign (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see align

- setBgColor (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see bgColor

- setCells (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.HTMLCollection |

  see cells

  This function is obsolete - the cells property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

- setCh (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see ch

- setChOff (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see chOff

- setRowIndex (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see rowIndex

  This function is obsolete - the rowIndex property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

- setSectionRowIndex (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see sectionRowIndex

  This function is obsolete - the sectionRowIndex property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

- setVAlign (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see vAlign

- vAlign ( )

  returns DOM.DOMString

  Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.0.