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 |
| ||
Related |
removeRow() clearRows() |
Cover
Reference
Tutorials
Examples
Bugs