new GridHeaderRow(grid, height, opt_domHelper)
HeaderRow
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
grid |
pear.ui.Grid | ||
height |
number | ||
opt_domHelper |
goog.dom.DomHelper |
<optional> |
DOM helper, used for document interaction. |
- Source:
Extends
Members
-
<static> CSS_CLASS :string
-
Default CSS class to be applied to the root element of containers rendered by this renderer.
Type:
- string
- Source:
Methods
-
addCell()
-
- Source:
-
disposeInternal()
-
- Source:
-
enterDocument()
-
Configures the component after its DOM has been rendered, and sets up event handling. Overrides goog.ui.Component#enterDocument.
- Source:
-
getCellAt(index) → {pear.ui.Cell}
-
get Child Cell at
Parameters:
Name Type Description indexnumber - Inherited From:
- Source:
Returns:
- Type
- pear.ui.Cell
-
getCellComputedWidth(index) → {number}
-
return computed cell width
Parameters:
Name Type Description indexnumber of cell - Inherited From:
- Source:
Returns:
- Type
- number
-
getComputedHeight() → {number}
-
get computed height of row
- Inherited From:
- Source:
Returns:
- Type
- number
-
getDataRowView() → {pear.data.RowView}
-
- Inherited From:
- Source:
Returns:
- Type
- pear.data.RowView
-
getGrid() → {pear.ui.Grid}
-
Get Instance of Grid , which owns this Row
- Inherited From:
- Source:
Returns:
- Type
- pear.ui.Grid
-
getHeaderCellByColumnId(id) → {pear.ui.GridHeaderCell}
-
Get Header Cell
Parameters:
Name Type Description idstring Column Id - Inherited From:
- Source:
Returns:
-
getHeaderCellByDataField(fieldName) → {pear.ui.GridHeaderCell}
-
Get Header Cell By Data Field
Parameters:
Name Type Description fieldNamestring - Inherited From:
- Source:
Returns:
-
getHeight() → {number}
-
get height of row
- Inherited From:
- Source:
Returns:
- Type
- number
-
getLocationTop() → {number}
-
- Inherited From:
- Source:
Returns:
- Type
- number
-
getNodeOwnerControl(node) → {pear.ui.GridCell}
-
Returns the child control that owns the given DOM node, or null if no such control is found.
Parameters:
Name Type Description nodeNode DOM node whose owner is to be returned. - Inherited From:
- Source:
Returns:
Control hosted in the Component to which the node belongs (if found)- Type
- pear.ui.GridCell
-
getRowPosition() → {number}
-
get position of row
- Inherited From:
- Source:
Returns:
- Type
- number
-
getWidth() → {number}
-
get width of row
- Inherited From:
- Source:
Returns:
- Type
- number
-
setDataRowView(rowview)
-
set Data RowView
Parameters:
Name Type Description rowviewpear.data.RowView - Inherited From:
- Source:
-
setGrid(grid)
-
setGrid
Parameters:
Name Type Description gridpear.ui.Grid [description] - Inherited From:
- Source:
-
setHeight(height)
-
set height of row
Parameters:
Name Type Description heightnumber - Inherited From:
- Source:
-
setPosition()
-
- Inherited From:
- Source:
-
setRowPosition(pos)
-
set positon of row
Parameters:
Name Type Description posnumber - Inherited From:
- Source: