---
name: "HTMLDocument.addTableRow"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTMLDocument.addTableRow"
---

# HTMLDocument.addTableRow(3kaya)

Adds a table row

## NAME

HTMLDocument::addTableRow - Adds a table row

## SYNOPSIS

**ElementTree addTableRow(** *ElementTree tsect, String class=createString(0)* **)**

## ARGUMENTS

**tsect** The table header, footer or body section

**class** Optionally, the CSS class to apply to the row

## DESCRIPTION

Add a new row to the end of the selected header, body or footer section of a table. Once the table as a whole has at least one row, columns may be added.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**HTMLDocument.addTableBodySection (3kaya)**

**HTMLDocument.addTableColumns (3kaya)**

**HTMLDocument.getTableBodySections (3kaya)**

**HTMLDocument.getTableCell (3kaya)**

**HTMLDocument.getTableFooter (3kaya)**

**HTMLDocument.getTableHeader (3kaya)**
