HTML API

insertRow

Implement the insertRow method
Throws an exception when the application cannot find a match for the table element or the innerHTML is different. See HTML live edit for further information.

tilepieces.core.htmlMatch.insertRow(tableEl,index);

Parameters

tableEl
A table element
index
The row index of the new row. If index is -1 or equal to the number of rows, the row is appended as the last row. If index is omitted it defaults to -1.

Return Value

None.