new Cell(opt_domHelper)
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
opt_domHelper |
goog.dom.DomHelper |
<optional> |
Optional DOM helper, used for document interaction. |
- Source:
Extends
- goog.ui.Component
Members
-
<static> CSS_CLASS :string
-
Default CSS class to be applied to the root element of cell
Type:
- string
- Source:
-
<static> EventType :string
-
Type:
- string
- Source:
Properties:
Name Type Default Description OPTION_CLICKstring evt-pear-grid-cell-options-click
Methods
-
<protected> decorateElementWithClasses()
-
- Source:
-
disposeInternal()
-
- Source:
-
enterDocument()
-
Configures the component after its DOM has been rendered, and sets up event handling. Overrides goog.ui.Component#enterDocument.
- Source:
-
getCellIndex() → {number}
-
- Source:
Returns:
- Type
- number
-
getDataColumn() → {pear.data.Column}
-
Get Data Column Associated with the Cell
- Source:
Returns:
Data Column- Type
- pear.data.Column
-
getGrid() → {pear.ui.Grid}
-
Get Instance of Grid , which owns this Cell
- Source:
Returns:
- Type
- pear.ui.Grid
-
getRow() → {pear.ui.Row}
-
Returns the component's parent, if any.
- Source:
Returns:
The Row Container.- Type
- pear.ui.Row
-
getRowPosition() → {number}
-
- Source:
Returns:
- Type
- number
-
setCellIndex(index)
-
Parameters:
Name Type Description indexnumber - Source:
-
setDataColumn(datacolumn)
-
Set Data Column
Parameters:
Name Type Description datacolumnpear.data.Column - Source: