Interface HTMLTableRowElement

All Superinterfaces:
Element, EventTarget, HTMLElement, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode
All Known Implementing Classes:
HTMLTableRowElementImpl

public interface HTMLTableRowElement extends HTMLElement
Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.
  • Method Details

    • getAlign

      @Deprecated String getAlign()
      Deprecated.
      Sets or retrieves how the object is aligned with adjacent text.
      Returns:
      a String object.
    • setAlign

      void setAlign(String align)

      setAlign.

      Parameters:
      align - a String object.
    • getBgColor

      @Deprecated String getBgColor()
      Deprecated.

      getBgColor.

      Returns:
      a String object.
    • setBgColor

      void setBgColor(String bgColor)

      setBgColor.

      Parameters:
      bgColor - a String object.
    • getCells

      HTMLCollection getCells()
      Retrieves a collection of all cells in the table row.
      Returns:
      a HTMLCollection object.
    • getCh

      Deprecated.

      getCh.

      Returns:
      a String object.
    • setCh

      void setCh(String ch)

      setCh.

      Parameters:
      ch - a String object.
    • getChOff

      @Deprecated String getChOff()
      Deprecated.

      getChOff.

      Returns:
      a String object.
    • setChOff

      void setChOff(String chOff)

      setChOff.

      Parameters:
      chOff - a String object.
    • getRowIndex

      int getRowIndex()
      Retrieves the position of the object in the rows collection for the table.
      Returns:
      a Integer object.
    • getSectionRowIndex

      int getSectionRowIndex()
      Retrieves the position of the object in the collection.
      Returns:
      a Integer object.
    • getvAlign

      @Deprecated String getvAlign()
      Deprecated.

      getvAlign.

      Returns:
      a String object.
    • setvAlign

      void setvAlign(String vAlign)

      setvAlign.

      Parameters:
      vAlign - a String object.
    • deleteCell

      void deleteCell(int index)
      Removes the specified cell from the table row, as well as from the cells collection.
      Parameters:
      index - Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.
    • insertCell

      HTMLTableCellElement insertCell(Object index) throws Exception
      Creates a new cell in the table row, and adds the cell to the cells collection.
      Parameters:
      index - Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.
      Returns:
      a HTMLTableCellElement object.
      Throws:
      Exception - if any.
    • insertCell

      HTMLTableCellElement insertCell()

      insertCell.

      Returns:
      a HTMLTableCellElement object.