Constructor
new module:ct-grid /refine /component /Grid Column Refiner Presenter Component(grid Column, presentation Model)
Extends:
Parameters:
Name | Type | Description |
---|---|---|
gridColumn |
string | |
presentationModel |
module:Grid |
- Implements:
Extends
Methods
add Component Lifecycle Listener(oListener)
Add a component life-cycle event listener.
Parameters:
Name | Type | Description |
---|---|---|
oListener |
module:ct-component |
The listener being registered. |
deserialize(sPresenter Data)
Extracts the data inside the presenter tag and gives it to the PresentationModel for deserialization.
Only has affect if the Presentation Model implements module:br-presenter/SerializablePresentationModel
.
Parameters:
Name | Type | Description |
---|---|---|
sPresenterData |
String | The presenter xml node in string format |
- Inherited From:
get Presentation Model()
Retrieve the presentation model being displayed by this component.
is View Attached()
Returns true
once module:ct-component/ComponentLifecycleEvents#onOpen
has
fired, and the element returned from module:ct-presenter/component/PresenterComponent#getElement
has been attached to the page.
- Inherited From:
is View Bound()
Returns true
if the element is part of the view, otherwise returns false
.
- Inherited From:
remove Component Lifecycle Listener(oListener)
Remove a previously registered component life-cycle event listener.
Parameters:
Name | Type | Description |
---|---|---|
oListener |
module:ct-component |
The listener being removed. |
set Column(grid Column)
Set the column which the component should apply refinements to
Parameters:
Name | Type | Description |
---|---|---|
gridColumn |
module:ct-grid |