HTML API

deleteRow

Removes a specific row (<tr>) from a given <table>.
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.deleteRow(tableEl,index);

Parameters

tableEl
A table element
index
Is an integer representing the row that should be deleted. However, the special index -1 can be used to remove the very last row of a table.

Return Value

None.