insertRow method

HTMLTableRowElement insertRow([
  1. int index
])

The insertRow() method of the HTMLTableSectionElement interface inserts a new row (tr) in the given section, and returns a reference to this new row.

Note: insertRow() inserts the row directly into the section. The row does not need to be appended separately as would be the case if Document.createElement had been used to create the new <tr> element.

Implementation

external HTMLTableRowElement insertRow([int index]);