RowCollection module

class RowCollection.RowCollection

Bases: DocumentObjectCollection

A collection of table rows.

Add(row: TableRow) int

Adds a table row to the collection. :param row: The row to add. :return: The index of the added row.

IndexOf(row: TableRow) int

Returns the index of a specified row in the collection. :param row: The row to find the index of. :return: The index of the row.

Insert(index: int, row: TableRow)

Inserts a table row into the collection at the specified index. :param index: The index at which to insert the row. :param row: The row to insert.

Remove(row: TableRow)

Removes a specified row from the collection. :param row: The row to remove.

get_Item(index: int) TableRow

Retrieves a table row from the collection by index. :param index: The index of the row. :return: The table row.