Name

addRow()

Examples
def setup():
    table = Table()
    table.addColumn("name")
    table.addColumn("type")
    newRow = table.addRow()
    newRow.setString("name", "Lion")
    newRow.setString("type", "Mammal")
    print(table.getRowCount())  # Prints 1
    table.addRow()                # Creates a blank row
    print(table.getRowCount())  # Prints 2
    table.addRow(newRow)          # Duplicates newRow
    print(table.getRowCount())  # Prints 3
Description
Syntax
Parameters
source
Related removeRow()
clearRows()
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License