The goog.editor.TableCell Class

goog.editor.TableCell(td, startRow, startCol)

Class representing a table cell, which may span across multiple rows and columns

td {Element}
This cell's underlying TD or TH element.
startRow {number}
Index of the row where this cell begins.
startCol {number}
Index of the column where this cell begins.

.setColSpan(colSpan)

Set this cell's colSpan, updating both its colSpan property and the underlying element's colSpan attribute.

colSpan {number}
The new colSpan.

.setRowSpan(rowSpan)

Set this cell's rowSpan, updating both its rowSpan property and the underlying element's rowSpan attribute.

rowSpan {number}
The new rowSpan.