editor.TableCell Extends
Class representing a table cell, which may span across multiple rows and columns

Inheritance

Constructor

goog.editor.TableCell(tdstartRowstartCol)

Parameters

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.

Instance Methods

Public Protected Private
setColSpan(colSpan)
Set this cell's colSpan, updating both its colSpan property and the underlying element's colSpan attribute.
Arguments:
colSpan : number
The new colSpan.
code »
setRowSpan(rowSpan)
Set this cell's rowSpan, updating both its rowSpan property and the underlying element's rowSpan attribute.
Arguments:
rowSpan : number
The new rowSpan.
code »
updateCoordinates_()
Calculates this cell's endRow/endCol coordinates based on rowSpan/colSpan
code »

Instance Properties

colSpan :
No description.
Code »
element :
No description.
Code »
rowSpan :
No description.
Code »
startCol :
No description.
Code »
startRow :
No description.
Code »

Package editor

Package Reference