delete_row method
delete_row
Delete a table row.
def delete_row(self, index):
...
| Parameter | Type | Description |
|---|---|---|
| index | int | The index of the row to be deleted. This index starts from 0 and is relative to the logical order (not document order) of all the rows contained inside the table. If the index is -1 the last row in the table is deleted. |
Exceptions
| Exception | Description |
|---|---|
DOMException | INDEX_SIZE_ERR: Raised if the specified index is greater than or equal to the number of rows or if the index is a negative number other than -1. @version DOM Level 2 |
See Also
- module
aspose.html - class
DOMException - class
HTMLTableElement