HTML API

insertCell

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

tilepieces.core.htmlMatch.insertCell(HTMLTableRowElement,index);

Parameters

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

Return Value

None.