insertCell

fun insertCell(index: Int = definedExternally): HTMLTableCellElement(source)

The insertCell() method of the HTMLTableRowElement interface inserts a new cell (td) into a table row (tr) and returns a reference to the cell.

MDN Reference