Caplin Trader 4.7.1

Class: module:caplin/grid/refine/component/GridColumnRefinerPresenterComponent

module:caplin/grid/refine/component/GridColumnRefinerPresenterComponent

A PresenterComponent that can be given control of a grid column for the purposes of sorting and filtering. It listens on the presentation model for the module:caplin/grid/refine/GridColumnRefinerEvents#event:REFINER_ACTION_COMPLETE event, on which it triggers the same event, signifying that it is to be closed.

Constructor

new module:caplin/grid/refine/component/GridColumnRefinerPresenterComponent(gridColumn, presentationModel)

Extends:
Parameters:
Name Type Description
gridColumn string
presentationModel module:GridColumnRefiner
Implements:

Extends

Methods

addComponentLifecycleListener(oListener)

Add a component life-cycle event listener.
Parameters:
Name Type Description
oListener module:caplin/component/ComponentLifecycleEvents The listener being registered.
Inherited From:

deserialize(sPresenterData)

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:

getPresentationModel()

Retrieve the presentation model being displayed by this component.
Inherited From:

isViewAttached()

Returns true once module:caplin/component/ComponentLifecycleEvents#onOpen has fired, and the element returned from module:caplin/presenter/component/PresenterComponent#getElement has been attached to the page.
Inherited From:

isViewBound()

Returns true if the element is part of the view, otherwise returns false.
Inherited From:

removeComponentLifecycleListener(oListener)

Remove a previously registered component life-cycle event listener.
Parameters:
Name Type Description
oListener module:caplin/component/ComponentLifecycleEvents The listener being removed.
Inherited From:

setColumn(gridColumn)

Set the column which the component should apply refinements to
Parameters:
Name Type Description
gridColumn module:caplin/grid/GridColumn
Implements: