new GridRow(grid, height, opt_domHelper)
DataRow
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(cell, opt_render)
-
add Cell
Parameters:
Name Type Argument Description cellpear.ui.Cell opt_renderboolean <optional>
Whether the new child should be rendered immediately after being added (defaults to false). - Inherited From:
- Source:
-
applyBottomBorder(display)
-
[applyBottomBorder description]
Parameters:
Name Type Description displayboolean [description] - Source:
-
clearHighlight()
-
Clear row highlight
- Source:
-
disposeInternal()
-
- Source:
-
enterDocument()
-
- Source:
-
exitDocument()
-
Configures the component after its DOM has been rendered, and sets up event handling. Overrides goog.ui.Component#exitDocument.
- 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
-
getDataRowId() → {string}
-
[getDataRowId description]
- Source:
Returns:
- Type
- string
-
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
-
getGridRowDetailsContainer() → {goog.ui.Component}
-
Get GridRow Details Container
- Source:
Returns:
[description]- Type
- goog.ui.Component
-
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}
-
Get Top Postion of Gridrow
- 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
-
highlightChildAt(index)
-
Highlight Child (GridCell)
Parameters:
Name Type Description indexnumber - Source:
-
isAllowAlternateRowHighlight() → {boolean}
-
[isAllowAlternateRowHighlight description]
- Source:
Returns:
- Type
- boolean
-
isEnabled() → {boolean}
-
IsEnabled
- Source:
Returns:
[description]- Type
- boolean
-
isHighLighted() → {boolean}
-
[isHighLighted description]
- Source:
Returns:
- Type
- boolean
-
isSelected() → {boolean}
-
[isSelected description]
- Source:
Returns:
- Type
- boolean
-
isVisible() → {boolean}
-
IsVisible
- Source:
Returns:
[description]- Type
- boolean
-
repositionCells()
-
For each child @link {pear.ui.GridCell} update size
- Source:
-
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:
-
setHighlight(highlight)
-
[setHighlight description]
Parameters:
Name Type Description highlightboolean - Source:
-
setLocationTop(top)
-
Set location top
Parameters:
Name Type Description topnumber - Source:
-
setPosition()
-
- Inherited From:
- Source:
-
setRowPosition(pos)
-
set positon of row
Parameters:
Name Type Description posnumber - Inherited From:
- Source:
-
setSelect(select)
-
[setSelect description]
Parameters:
Name Type Description selectboolean - Source:
-
showGridRowDetailsContainer(display)
-
showGridRowDetailsContainer
Parameters:
Name Type Description displayboolean - Source: