new GridHeaderCell(opt_domHelper)
HeaderCell
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
opt_domHelper |
goog.dom.DomHelper |
<optional> |
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 cell
Type:
- string
- Source:
Methods
-
adjustContentCellSize()
-
Adjust size of content cell.
- Source:
-
clearContent()
-
clear header cell content
- Source:
-
<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}
-
- Inherited From:
- Source:
Returns:
- Type
- number
-
getColumnId() → {string}
-
Get Column Id
- Source:
Returns:
- Type
- string
-
getContent() → {goog.ui.ControlContent}
-
Returns the text caption or DOM structure displayed in the component.
- Source:
Returns:
Text caption or DOM structure comprising the component's contents.- Type
- goog.ui.ControlContent
-
getContentCell() → {Element}
-
Get the Content Cell
- Source:
Returns:
- Type
- Element
-
getContentIndicatorElement() → {Element}
-
Get Indicator Element Container - this suppose to hold indicators for sort , filter .
- Source:
Returns:
- Type
- Element
-
getContentText() → {string}
-
Get Content Text - Header Text
- Source:
Returns:
- Type
- string
-
getDataColumn() → {pear.data.Column}
-
Get Data Column Associated with the Cell
- Inherited From:
- Source:
Returns:
Data Column- Type
- pear.data.Column
-
getGrid() → {pear.ui.Grid}
-
Get Instance of Grid , which owns this Cell
- Inherited From:
- Source:
Returns:
- Type
- pear.ui.Grid
-
getHeaderMenuContainerWidth() → {number}
-
[getHeaderMenuContainerWidth description]
- Source:
Returns:
- Type
- number
-
getMenuElement() → {Element}
-
Get Menu Control Container
- Source:
Returns:
- Type
- Element
-
getResizable() → {pear.ui.Resizable}
-
get Resizable Control
- Source:
Returns:
- Type
- pear.ui.Resizable
-
getRow() → {pear.ui.Row}
-
Returns the component's parent, if any.
- Inherited From:
- Source:
Returns:
The Row Container.- Type
- pear.ui.Row
-
getRowPosition() → {number}
-
- Inherited From:
- Source:
Returns:
- Type
- number
-
getSortDirection() → {pear.ui.Grid.SortDirection}
-
get Sort Direction pear.ui.Grid.SortDirection
- Source:
Returns:
-
resetSortDirection()
-
- Source:
-
setCellIndex(index)
-
Parameters:
Name Type Description indexnumber - Inherited From:
- Source:
-
setDataColumn(datacolumn)
-
Set Data Column
Parameters:
Name Type Description datacolumnpear.data.Column - Inherited From:
- Source:
-
setMenuState(open)
-
set state of Sliding Menu Container
Parameters:
Name Type Description openboolean , true is visible - Source:
-
slideMenuOpen(display)
-
[slideMenuOpen description]
Parameters:
Name Type Description displayboolean - Source:
-
toggleSortDirection()
-
- Source: